Bug: Intermittent browser/components/sessionstore/test/browser_1284886_suspend_tab.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-09-03 17:07:13+00:00
Resolved: 2023-09-27 12:01:49+00:00

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

---
```
TEST-PASS | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | force suspending a tab with beforeunload handler which would show a prompt - 
[task 2023-09-03T16:21:01.609Z] 16:21:01     INFO - Buffered messages logged at 16:19:33
[task 2023-09-03T16:21:01.609Z] 16:21:01     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/browser/browser/components/sessionstore/test/browser_1284886_suspend_tab_2.html" line: 0}]
[task 2023-09-03T16:21:01.609Z] 16:21:01     INFO - Buffered messages finished
[task 2023-09-03T16:21:01.609Z] 16:21:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | Test timed out - 
[task 2023-09-03T16:21:06.509Z] 16:21:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-03T16:21:06.512Z] 16:21:06     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":539,"lineNumber":603,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":539,"lineNumber":768,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":539,"lineNumber":1437,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":539,"lineNumber":1379,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":539,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":566,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:768:18\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:603:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:768:18\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-09-03T16:21:06.512Z] 16:21:06     INFO - Stack trace:
[task 2023-09-03T16:21:06.513Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:603
[task 2023-09-03T16:21:06.513Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:nextTest:768
[task 2023-09-03T16:21:06.514Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2023-09-03T16:21:06.514Z] 16:21:06     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2023-09-03T16:21:06.514Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-09-03T16:21:06.515Z] 16:21:06     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-09-03T16:21:06.518Z] 16:21:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-03T16:21:06.523Z] 16:21:06     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":539,"lineNumber":604,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":539,"lineNumber":768,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":539,"lineNumber":1437,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":539,"lineNumber":1379,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":539,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":566,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:768:18\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:604:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:768:18\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-09-03T16:21:06.524Z] 16:21:06     INFO - Stack trace:
[task 2023-09-03T16:21:06.524Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:604
[task 2023-09-03T16:21:06.525Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:nextTest:768
[task 2023-09-03T16:21:06.525Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2023-09-03T16:21:06.525Z] 16:21:06     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2023-09-03T16:21:06.526Z] 16:21:06     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-09-03T16:21:06.526Z] 16:21:06     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-09-03T16:21:06.527Z] 16:21:06     INFO - GECKO(3542) | MEMORY STAT | vsize 20975377MB | residentFast 1295MB
[task 2023-09-03T16:21:06.527Z] 16:21:06     INFO - TEST-OK | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | took 95057ms
[task 2023-09-03T16:21:06.528Z] 16:21:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-03T16:21:06.528Z] 16:21:06     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_1284886_suspend_tab.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/sessionstore/test/browser_1284886_suspend_tab_2.html - 
[task 2023-09-03T16:21:06.607Z] 16:21:06     INFO - checking window state
[task 2023-09-03T16:21:06.688Z] 16:21:06     INFO - TEST-START | browser/components/sessionstore/test/browser_339445.js
```