Closed Bug 1696137 Opened 4 years ago Closed 4 years ago

Intermittent browser/components/sessionstore/test/browser_reopen_all_windows.js | Test timed out -

Categories

(Firefox :: Session Restore, defect, P5)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox89 --- fixed
firefox90 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


INFO - TEST-START | browser/components/sessionstore/test/browser_reopen_all_windows.js
[task 2021-03-03T10:50:45.615Z] 10:50:45     INFO - GECKO(2283) | 1614768645611	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2021-03-03T10:54:46.492Z] 10:54:46     INFO - TEST-INFO | started process screentopng
[task 2021-03-03T10:54:47.125Z] 10:54:47     INFO - TEST-INFO | screentopng: exit 0
[task 2021-03-03T10:54:47.126Z] 10:54:47     INFO - Buffered messages logged at 10:48:46
[task 2021-03-03T10:54:47.127Z] 10:54:47     INFO - Entering test bound 
[task 2021-03-03T10:54:47.128Z] 10:54:47     INFO - TEST-PASS | browser/components/sessionstore/test/browser_reopen_all_windows.js | starting with no closed windows - 
[task 2021-03-03T10:54:47.129Z] 10:54:47     INFO - Buffered messages logged at 10:48:47
[task 2021-03-03T10:54:47.129Z] 10:54:47     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: "https://example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.130Z] 10:54:47     INFO - Buffered messages logged at 10:48:48
[task 2021-03-03T10:54:47.131Z] 10:54:47     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: "https://example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.132Z] 10:54:47     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://test1.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.133Z] 10:54:47     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://test1.example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.133Z] 10:54:47     INFO - Buffered messages logged at 10:48:49
[task 2021-03-03T10:54:47.134Z] 10:54:47     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://sub1.test1.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.135Z] 10:54:47     INFO - Buffered messages logged at 10:48:50
[task 2021-03-03T10:54:47.136Z] 10:54:47     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://sub2.xn--lt-uia.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.137Z] 10:54:47     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://test2.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.138Z] 10:54:47     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://sub1.test2.example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.138Z] 10:54:47     INFO - Buffered messages logged at 10:48:51
[task 2021-03-03T10:54:47.138Z] 10:54:47     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://sub2.test1.example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.140Z] 10:54:47     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://test2.example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.141Z] 10:54:47     INFO - TEST-PASS | browser/components/sessionstore/test/browser_reopen_all_windows.js | The closed windows was added to Recently Closed Windows - 
[task 2021-03-03T10:54:47.142Z] 10:54:47     INFO - About to open the PanelUI menu
[task 2021-03-03T10:54:47.143Z] 10:54:47     INFO - About to click on the Library option
[task 2021-03-03T10:54:47.144Z] 10:54:47     INFO - Buffered messages logged at 10:48:52
[task 2021-03-03T10:54:47.144Z] 10:54:47     INFO - About to click on the History option
[task 2021-03-03T10:54:47.145Z] 10:54:47     INFO - Global property added while loading chrome://browser/content/places/browserPlacesViews.js: PlacesViewBase
[task 2021-03-03T10:54:47.145Z] 10:54:47     INFO - About to click on 'Recently Closed Windows'
[task 2021-03-03T10:54:47.146Z] 10:54:47     INFO - Buffered messages logged at 10:48:54
[task 2021-03-03T10:54:47.147Z] 10:54:47     INFO - About to add an event listener for SSTabRestored
[task 2021-03-03T10:54:47.147Z] 10:54:47     INFO - About to wait for tabs to be restored
[task 2021-03-03T10:54:47.148Z] 10:54:47     INFO - Buffered messages logged at 10:48:55
[task 2021-03-03T10:54:47.150Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.153Z] 10:54:47     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://test2.example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.154Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.154Z] 10:54:47     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://test1.example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.157Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.159Z] 10:54:47     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://sub1.test1.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.160Z] 10:54:47     INFO - Buffered messages logged at 10:48:56
[task 2021-03-03T10:54:47.160Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.161Z] 10:54:47     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://sub2.xn--lt-uia.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.161Z] 10:54:47     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://sub2.test1.example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.162Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.162Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.163Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.163Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.164Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.164Z] 10:54:47     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://test2.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.165Z] 10:54:47     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://sub1.test2.example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.165Z] 10:54:47     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: "https://example.com/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.166Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.166Z] 10:54:47     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://test1.mochi.test:8888/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.167Z] 10:54:47     INFO - Received a SSTabRestored event
[task 2021-03-03T10:54:47.167Z] 10:54:47     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: "https://example.org/browser/browser/components/sessionstore/test/empty.html" line: 0}]
[task 2021-03-03T10:54:47.168Z] 10:54:47     INFO - Buffered messages logged at 10:50:16
[task 2021-03-03T10:54:47.168Z] 10:54:47     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 3
[task 2021-03-03T10:54:47.169Z] 10:54:47     INFO - Buffered messages logged at 10:50:45
[task 2021-03-03T10:54:47.169Z] 10:54:47     INFO - Console message: [JavaScript Error: "1614768645611	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates" {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2021-03-03T10:54:47.170Z] 10:54:47     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2021-03-03T10:54:47.170Z] 10:54:47     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2021-03-03T10:54:47.170Z] 10:54:47     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2021-03-03T10:54:47.170Z] 10:54:47     INFO - updateSystemAddons/res<@resource://gre/modules/addons/XPIInstall.jsm:4016:25
[task 2021-03-03T10:54:47.171Z] 10:54:47     INFO - 
[task 2021-03-03T10:54:47.171Z] 10:54:47     INFO - Buffered messages logged at 10:51:46
[task 2021-03-03T10:54:47.172Z] 10:54:47     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2021-03-03T10:54:47.173Z] 10:54:47     INFO - Buffered messages logged at 10:53:16
[task 2021-03-03T10:54:47.173Z] 10:54:47     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2021-03-03T10:54:47.173Z] 10:54:47     INFO - Buffered messages finished
[task 2021-03-03T10:54:47.174Z] 10:54:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_reopen_all_windows.js | Test timed out - 
[task 2021-03-03T10:54:47.174Z] 10:54:47     INFO - GECKO(2283) | MEMORY STAT | vsize 20975604MB | residentFast 1771MB
[task 2021-03-03T10:54:47.174Z] 10:54:47     INFO - TEST-OK | browser/components/sessionstore/test/browser_reopen_all_windows.js | took 360038ms
[task 2021-03-03T10:54:47.175Z] 10:54:47     INFO - checking window state
[task 2021-03-03T10:54:47.175Z] 10:54:47     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-03T10:54:47.175Z] 10:54:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_reopen_all_windows.js | Found a browser window after previous test timed out - 
[task 2021-03-03T10:54:47.176Z] 10:54:47     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-03T10:54:47.176Z] 10:54:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_reopen_all_windows.js | Found a browser window after previous test timed out - 
[task 2021-03-03T10:54:47.176Z] 10:54:47     INFO - GECKO(2283) | must wait for focus
[task 2021-03-03T10:54:47.177Z] 10:54:47     INFO - TEST-START | browser/components/sessionstore/test/browser_restoreTabContainer.js```

Will likely be fixed by bug 1703556.

See Also: → 1703556

We currently wait for the "sessionstore-single-window-restored" notification and
then start listening for individual "SSTabRestored" events. This doesn't work
because we may fire those events before we get the chance to create the listener.

Listening for "browser-window-before-show" works consistently, but we need
references to the windows before they start restoring, so we have
to manually run the "Restore All Windows" code, instead of clicking the Library
button.

Originally part of the patch stack for bug 1703556.

Assignee: nobody → kmadan
Status: NEW → ASSIGNED
Pushed by kmadan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/589e3b479bdf Fix timeouts in browser_reopen_all_windows.js, r=annyG
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1709694
No longer regressions: 1709694
See Also: → 1709694
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: