Closed Bug 1507275 Opened 6 years ago Closed 6 years ago

Intermittent testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety | JavascriptException: TypeError: win.outerWindowID is null; can't access its "toString" property

Categories

(Testing :: Firefox UI Tests, defect, P5)

Version 3
defect

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=211739969&repo=autoland

https://queue.taskcluster.net/v1/task/cQPj0qURRUC_75fjjRxqbQ/runs/0/artifacts/public/logs/live_backing.log

18:40:22     INFO -  [Parent 4224, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrame.cpp, line 297
18:40:22     INFO -  1542220822479	Marionette	TRACE	3 <- [1,121,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQuCAYAAACDNZAFAAAgAElEQVR4nOzdXYxc9Z3g/b5cPXM5q0ca5WY1u9pVLgIbiU2UWUW7uUi ... AAAADGBCAAAAAAjAlAAAAAABgTgAAAAAAwJgABAAAAYEwAAgAAAMCYAAQAAACAMQEIAAAAAGMCEAAAAADGBCAAAAAAjAUsll94SFJq8QAAAABJRU5ErkJggg=="}]
18:40:22     INFO -  1542220822507	Marionette	TRACE	3 -> [0,122,"Marionette:SetContext",{"value":"chrome"}]
18:40:22     INFO -  1542220822508	Marionette	TRACE	3 <- [1,122,null,{"value":null}]
18:40:22     INFO -  1542220822509	Marionette	TRACE	3 -> [0,123,"Marionette:GetContext",{}]
18:40:22     INFO -  1542220822509	Marionette	TRACE	3 <- [1,123,null,{"value":"chrome"}]
18:40:22     INFO -  1542220822511	Marionette	TRACE	3 -> [0,124,"Marionette:SetContext",{"value":"content"}]
18:40:22     INFO -  1542220822513	Marionette	TRACE	3 <- [1,124,null,{"value":null}]
18:40:22     INFO -  [Child 5856, Main Thread] WARNING: No CID found when attempting to map contract ID: file z:/build/build/src/xpcom/components/nsComponentManager.cpp, line 608
18:40:22     INFO -  1542220822532	Marionette	TRACE	3 -> [0,125,"WebDriver:GetPageSource",{}]
18:40:22     INFO -  1542220822542	Marionette	TRACE	3 <- [1,125,null,{"value":"<html dir=\"ltr\" lang=\"en\"><head>\n    <title>Mozilla Community</title>\n    <link rel=\"shortcut ic ...  look at the other information referenced\n            throughout this site.\n        </p>\n    </div>\n\n\n</body></html>"}]
18:40:22     INFO -  1542220822545	Marionette	TRACE	3 -> [0,126,"Marionette:SetContext",{"value":"chrome"}]
18:40:22     INFO -  1542220822548	Marionette	TRACE	3 <- [1,126,null,{"value":null}]
18:40:22     INFO - TEST-UNEXPECTED-ERROR | testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety | JavascriptException: TypeError: win.outerWindowID is null; can't access its "toString" property
18:40:22     INFO - stacktrace:
18:40:22     INFO - 	@Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py:216:11
18:40:22     INFO - 	@Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py:211:2
18:40:22     INFO - 	evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:13
18:40:22     INFO - 	evaluate.sandbox@chrome://marionette/content/evaluate.js:97:17
18:40:22     INFO - 	GeckoDriver.prototype.execute_@chrome://marionette/content/driver.js:1018:19
18:40:22     INFO - 	async*GeckoDriver.prototype.executeScript@chrome://marionette/content/driver.js:888:24
18:40:22     INFO - 	Async*despatch@chrome://marionette/content/server.js:291:20
18:40:22     INFO - 	async*execute@chrome://marionette/content/server.js:264:11
18:40:22     INFO - 	async*onPacket/<@chrome://marionette/content/server.js:237:15
18:40:22     INFO - 	async*onPacket@chrome://marionette/content/server.js:236:8
18:40:22     INFO - 	_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9
18:40:22     INFO - Traceback (most recent call last):
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
18:40:22     INFO -     testMethod()
18:40:22     INFO -   File "Z:\task_1542219714\build\tests\firefox-ui\tests\testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py", line 32, in test_with_variety
18:40:22     INFO -     self.windows_shutdown_with_variety(restart_by_os=False, expect_restore=True)
18:40:22     INFO -   File "Z:\task_1542219714\build\tests\firefox-ui\tests\testing\firefox-ui\tests\functional\sessionstore\session_store_test_case.py", line 322, in windows_shutdown_with_variety
18:40:22     INFO -     current_windows_set = self.convert_open_windows_to_set()
18:40:22     INFO -   File "Z:\task_1542219714\build\tests\firefox-ui\tests\testing\firefox-ui\tests\functional\sessionstore\session_store_test_case.py", line 147, in convert_open_windows_to_set
18:40:22     INFO -     urls = urls + tuple([tab.location])
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 251, in location
18:40:22     INFO -     self.switch_to()
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 361, in switch_to
18:40:22     INFO -     self.marionette.switch_to_window(self.handle)
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 279, in handle
18:40:22     INFO -     message='Tab handle could not be found.')
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_driver\wait.py", line 129, in until
18:40:22     INFO -     rv = condition(self.marionette)
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 278, in <lambda>
18:40:22     INFO -     lambda mn: TabBar.get_handle_for_tab(mn, self.element),
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 211, in get_handle_for_tab
18:40:22     INFO -     """, script_args=[tab_element])
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1741, in execute_script
18:40:22     INFO -     rv = self._send_message("WebDriver:ExecuteScript", body, key="value")
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
18:40:22     INFO -     return func(*args, **kwargs)
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_driver\marionette.py", line 764, in _send_message
18:40:22     INFO -     self._handle_error(err)
18:40:22     INFO -   File "Z:\task_1542219714\build\venv\lib\site-packages\marionette_driver\marionette.py", line 784, in _handle_error
18:40:22     INFO -     raise errors.lookup(error)(message, stacktrace=stacktrace)
18:40:22     INFO - TEST-INFO took 23092ms
18:40:22     INFO -  1542220822561	Marionette	TRACE	3 -> [0,127,"Marionette:GetContext",{}]
18:40:22     INFO -  1542220822562	Marionette	TRACE	3 <- [1,127,null,{"value":"chrome"}]
18:40:22     INFO -  1542220822563	Marionette	TRACE	3 -> [0,128,"WebDriver:DeleteSession",{}]
18:40:22     INFO -  1542220822566	Marionette	TRACE	3 <- [1,128,null,{"value":null}]
18:40:22     INFO -  1542220822578	Marionette	DEBUG	[10737418241] Frame script loaded
18:40:22     INFO -  Hit MOZ_CRASH(Aborting on channel error.) at z:/build/build/src/ipc/glue/MessageChannel.cpp:2658
18:40:22     INFO -  Hit MOZ_CRASH(Aborting on channel error.) at z:/build/build/src/ipc/glue/MessageChannel.cpp:2658
18:40:22     INFO -  Hit MOZ_CRASH(Aborting on channel error.) at z:/build/build/src/ipc/glue/MessageChannel.cpp:2658
18:40:22     INFO - Application command: Z:\task_1542219714\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile Z:\task_1542219714\build\tmpwrkxez.mozrunner
18:40:23     INFO -  [2844, Main Thread] WARNING: Failed to load startupcache file correctly, removing!: file z:/build/build/src/startupcache/StartupCache.cpp, line 216
18:40:24     INFO -  1542220824418	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: resource://pdf.js/
18:40:24     INFO -  1542220824418	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: about:reader*
That's in Firefox puppeteer and as such needs bug 1351940 to be fixed.
Depends on: 1351940
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.