Bug: Perma [tier 2] linux ccov testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py TestSessionStoreDisabled.test_restore_with_restart | AssertionError: Non private browsing windows should have
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-02-15 07:33:30+00:00
Resolved: 2021-03-22 17:12:10+00:00

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

---
```
[task 2021-02-14T11:09:05.239Z] 11:09:05     INFO - TEST-PASS | testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py TestSessionStoreDisabled.test_no_restore_with_quit | took 53766ms
[task 2021-02-14T11:09:05.239Z] 11:09:05     INFO -  1613300945236	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2021-02-14T11:09:05.242Z] 11:09:05     INFO - TEST-START | testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py TestSessionStoreDisabled.test_restore_with_restart
[task 2021-02-14T11:09:05.247Z] 11:09:05     INFO -  1613300945241	Marionette	DEBUG	Closed connection 1
[task 2021-02-14T11:09:05.248Z] 11:09:05     INFO -  1613300945243	Marionette	DEBUG	Accepted connection 2 from 127.0.0.1:48920
[task 2021-02-14T11:09:05.248Z] 11:09:05     INFO -  1613300945246	Marionette	DEBUG	2 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-02-14T11:09:05.255Z] 11:09:05     INFO -  1613300945253	Marionette	DEBUG	2 <- [1,1,null,{"sessionId":"cbd34fb3-a428-42f0-8faf-c71d0a17081e","capabilities":{"browserName":"firefox","browserVersion":"87.0a ... ld/tmprHDykd.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2021-02-14T11:09:05.258Z] 11:09:05     INFO -  1613300945256	Marionette	DEBUG	2 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-02-14T11:09:05.259Z] 11:09:05     INFO -  1613300945257	Marionette	DEBUG	2 <- [1,2,null,{"value":null}]
[task 2021-02-14T11:09:05.263Z] 11:09:05     INFO -  1613300945260	Marionette	DEBUG	2 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-02-14T11:09:05.263Z] 11:09:05     INFO -  1613300945261	Marionette	DEBUG	2 <- [1,3,null,{"value":null}]
[task 2021-02-14T11:09:05.266Z] 11:09:05     INFO -  1613300945263	Marionette	DEBUG	2 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-02-14T11:09:05.266Z] 11:09:05     INFO -  1613300945265	Marionette	DEBUG	2 <- [1,4,null,{"value":null}]
[task 2021-02-14T11:09:05.269Z] 11:09:05     INFO -  1613300945268	Marionette	DEBUG	2 -> [0,5,"WebDriver:GetChromeWindowHandle",{}]
[task 2021-02-14T11:09:05.270Z] 11:09:05     INFO -  1613300945269	Marionette	DEBUG	2 <- [1,5,null,{"value":"6"}]
[task 2021-02-14T11:09:05.278Z] 11:09:05     INFO -  1613300945275	Marionette	DEBUG	2 -> [0,6,"WebDriver:GetChromeWindowHandles",{}]
[task 2021-02-14T11:09:05.281Z] 11:09:05     INFO -  1613300945278	Marionette	DEBUG	2 <- [1,6,null,["6"]]
[task 2021-02-14T11:09:05.291Z] 11:09:05     INFO -  1613300945286	Marionette	DEBUG	2 -> [0,7,"WebDriver:GetWindowHandle",{}]
[task 2021-02-14T11:09:05.294Z] 11:09:05     INFO -  1613300945288	Marionette	DEBUG	2 <- [1,7,null,{"value":"17"}]
[task 2021-02-14T11:09:05.294Z] 11:09:05     INFO -  1613300945289	Marionette	DEBUG	2 -> [0,8,"WebDriver:GetWindowHandles",{}]
[task 2021-02-14T11:09:05.295Z] 11:09:05     INFO -  1613300945290	Marionette	DEBUG	2 <- [1,8,null,["17"]]
[task 2021-02-14T11:09:05.295Z] 11:09:05     INFO -  1613300945291	Marionette	DEBUG	2 -> [0,9,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:09:05.295Z] 11:09:05     INFO -  1613300945292	Marionette	DEBUG	2 <- [1,9,null,{"value":null}]
[task 2021-02-14T11:09:05.298Z] 11:09:05     INFO -  1613300945297	Marionette	DEBUG	2 -> [0,10,"Marionette:GetContext",{}]
[task 2021-02-14T11:09:05.299Z] 11:09:05     INFO -  1613300945298	Marionette	DEBUG	2 <- [1,10,null,{"value":"chrome"}]
[task 2021-02-14T11:09:05.303Z] 11:09:05     INFO -  1613300945301	Marionette	DEBUG	2 -> [0,11,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:09:05.303Z] 11:09:05     INFO -  1613300945301	Marionette	DEBUG	2 <- [1,11,null,{"value":null}]
[task 2021-02-14T11:09:05.307Z] 11:09:05     INFO -  1613300945305	Marionette	DEBUG	2 -> [0,12,"WebDriver:ExecuteScript",{"script":"let prefInterface = Components.classes[\"@mozilla.org/preferences-service;1\"]\n   ... args":[],"filename":"../../venv/lib/python2.7/site-packages/marionette_driver/marionette.py","sandbox":"default","line":895}]
[task 2021-02-14T11:09:05.310Z] 11:09:05     INFO -  1613300945309	Marionette	TRACE	[6] MarionetteCommands actor created for window id 2
[task 2021-02-14T11:09:05.318Z] 11:09:05     INFO -  1613300945315	Marionette	DEBUG	2 <- [1,12,null,{"value":false}]
[task 2021-02-14T11:09:05.318Z] 11:09:05     INFO -  1613300945316	Marionette	DEBUG	2 -> [0,13,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:09:05.320Z] 11:09:05     INFO -  1613300945316	Marionette	DEBUG	2 <- [1,13,null,{"value":null}]
[task 2021-02-14T11:09:05.324Z] 11:09:05     INFO -  1613300945319	Marionette	DEBUG	2 -> [0,14,"Marionette:GetContext",{}]
[task 2021-02-14T11:09:05.324Z] 11:09:05     INFO -  1613300945320	Marionette	DEBUG	2 <- [1,14,null,{"value":"chrome"}]
[task 2021-02-14T11:09:05.327Z] 11:09:05     INFO -  1613300945325	Marionette	DEBUG	2 -> [0,15,"WebDriver:DeleteSession",{}]
[task 2021-02-14T11:09:05.331Z] 11:09:05     INFO -  1613300945327	Marionette	DEBUG	2 <- [1,15,null,{"value":null}]
[task 2021-02-14T11:09:05.366Z] 11:09:05     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -no-remote -marionette -profile /builds/worker/workspace/build/tmpJNvtH9.mozrunner
<...>
[task 2021-02-14T11:09:55.439Z] 11:09:55     INFO -  1613300995436	Marionette	TRACE	[33] MarionetteEvents actor created for window id 15
[task 2021-02-14T11:09:55.500Z] 11:09:55     INFO -  1613300995496	Marionette	TRACE	[33] MarionetteEvents actor created for window id 4294967297
[task 2021-02-14T11:09:55.628Z] 11:09:55     INFO -  [CodeCoverage] Setting handlers for process 2474.
[task 2021-02-14T11:09:55.870Z] 11:09:55     INFO -  [CodeCoverage] Setting handlers for process 2475.
[task 2021-02-14T11:09:55.890Z] 11:09:55     INFO -  1613300995883	Marionette	DEBUG	1 <- [1,27,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQQCAYAAAC9RfbYAAAgAElEQVR4nOzdfZSdB13g8fkjLC2m6llc1MXj0a7Ht/WwrFHUI8u6K4tL ... AAAAAwJgABAAAAYEwAAgAAAMCYAAQAAACAMQEIAAAAAGMCEAAAAADGBCAAAAAAjAlAAAAAABgTgAAAAAAwJgABAAAAYCzJ9A2YD4KgdwAAAABJRU5ErkJggg=="}]
[task 2021-02-14T11:09:55.911Z] 11:09:55     INFO -  1613300995908	Marionette	DEBUG	1 -> [0,28,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:09:55.911Z] 11:09:55     INFO -  1613300995908	Marionette	DEBUG	1 <- [1,28,null,{"value":null}]
[task 2021-02-14T11:09:55.918Z] 11:09:55     INFO -  1613300995914	Marionette	DEBUG	1 -> [0,29,"Marionette:GetContext",{}]
[task 2021-02-14T11:09:55.919Z] 11:09:55     INFO -  1613300995915	Marionette	TRACE	[35] MarionetteEvents actor created for window id 18
[task 2021-02-14T11:09:55.919Z] 11:09:55     INFO -  1613300995915	Marionette	DEBUG	1 <- [1,29,null,{"value":"chrome"}]
[task 2021-02-14T11:09:55.922Z] 11:09:55     INFO -  1613300995918	Marionette	DEBUG	1 -> [0,30,"Marionette:SetContext",{"value":"content"}]
[task 2021-02-14T11:09:55.922Z] 11:09:55     INFO -  1613300995920	Marionette	DEBUG	1 <- [1,30,null,{"value":null}]
[task 2021-02-14T11:09:55.923Z] 11:09:55     INFO -  1613300995921	Marionette	DEBUG	1 -> [0,31,"WebDriver:GetPageSource",{}]
[task 2021-02-14T11:09:55.938Z] 11:09:55     INFO -  1613300995932	Marionette	TRACE	Retrying "getPageSource", attempt: 1
[task 2021-02-14T11:09:55.979Z] 11:09:55     INFO -  1613300995976	Marionette	TRACE	[35] MarionetteCommands actor created for window id 18
[task 2021-02-14T11:09:55.980Z] 11:09:55     INFO -  1613300995977	Marionette	TRACE	[35] MarionetteCommands actor created for window id 6442450945
[task 2021-02-14T11:09:56.035Z] 11:09:56     INFO -  1613300996025	Marionette	DEBUG	1 <- [1,31,{"error":"unknown error","message":"TypeError: can't access property \"outerHTML\", this.document.documentElement is nu ... onetteCommandsChild.jsm:337:5\nreceiveMessage@chrome://marionette/content/actors/MarionetteCommandsChild.jsm:121:31\n"},null]
[task 2021-02-14T11:09:56.056Z] 11:09:56     INFO -  1613300996054	Marionette	DEBUG	1 -> [0,32,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:09:56.056Z] 11:09:56     INFO -  1613300996054	Marionette	DEBUG	1 <- [1,32,null,{"value":null}]
[task 2021-02-14T11:09:56.066Z] 11:09:56  WARNING - Failed to gather test failure debug: TypeError: can't access property "outerHTML", this.document.documentElement is null
[task 2021-02-14T11:09:56.066Z] 11:09:56  WARNING - stacktrace:
[task 2021-02-14T11:09:56.067Z] 11:09:56  WARNING - 	getPageSource@chrome://marionette/content/actors/MarionetteCommandsChild.jsm:337:5
[task 2021-02-14T11:09:56.067Z] 11:09:56  WARNING - 	receiveMessage@chrome://marionette/content/actors/MarionetteCommandsChild.jsm:121:31
[task 2021-02-14T11:09:56.067Z] 11:09:56  WARNING - 
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO - TEST-UNEXPECTED-FAIL | testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py TestSessionStoreDisabled.test_restore_with_restart | AssertionError: Non private browsing windows should have
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -                          been restored. Expected set([('http://127.0.0.1:39309/layout/mozilla_organizations.html', 'http://127.0.0.1:39309/layout/mozilla_community.html'), ('http://127.0.0.1:39309/layout/mozilla.html',), ('http://127.0.0.1:39309/layout/mozilla_governance.html', 'http://127.0.0.1:39309/layout/mozilla_grants.html')]), got set([(u'about:blank', u'about:blank'), (u'about:blank',)]).
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO - Traceback (most recent call last):
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 214, in run
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -     testMethod()
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -   File "/builds/worker/workspace/build/tests/firefox-ui/tests/testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py", line 110, in test_restore_with_restart
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -     self.test_windows, current_windows_set
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO - TEST-INFO took 50819ms
[task 2021-02-14T11:09:56.086Z] 11:09:56     INFO -  1613300996060	Marionette	DEBUG	1 -> [0,33,"Marionette:GetContext",{}]
[task 2021-02-14T11:09:56.087Z] 11:09:56     INFO -  1613300996061	Marionette	DEBUG	1 <- [1,33,null,{"value":"chrome"}]
[task 2021-02-14T11:09:56.087Z] 11:09:56     INFO -  1613300996068	Marionette	TRACE	[37] MarionetteEvents actor created for window id 22
[task 2021-02-14T11:09:56.105Z] 11:09:56     INFO -  1613300996081	Marionette	TRACE	[35] MarionetteEvents actor created for window id 6442450945
[task 2021-02-14T11:09:56.105Z] 11:09:56     INFO -  1613300996100	Marionette	DEBUG	1 -> [0,34,"WebDriver:DeleteSession",{}]
[task 2021-02-14T11:09:56.106Z] 11:09:56     INFO -  [CodeCoverage] Setting handlers for process 2476.
[task 2021-02-14T11:09:56.114Z] 11:09:56     INFO -  1613300996106	Marionette	DEBUG	1 <- [1,34,null,{"value":null}]
[task 2021-02-14T11:09:56.114Z] 11:09:56     INFO -  JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'MarionetteEvents'
[task 2021-02-14T11:09:56.162Z] 11:09:56     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -no-remote -marionette -profile /builds/worker/workspace/build/tmptPRt8j.mozrunner
[task 2021-02-14T11:09:56.238Z] 11:09:56     INFO -  [CodeCoverage] Setting handlers for process 2644.
[task 2021-02-14T11:09:57.439Z] 11:09:57     INFO -  1613300997424	Marionette	TRACE	Marionette enabled
[task 2021-02-14T11:09:57.635Z] 11:09:57     INFO -  1613300997624	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2021-02-14T11:10:00.122Z] 11:10:00     INFO -  console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
[task 2021-02-14T11:10:01.769Z] 11:10:01     INFO -  1613301001765	Marionette	TRACE	Received observer notification marionette-startup-requested
[task 2021-02-14T11:10:01.769Z] 11:10:01     INFO -  1613301001765	Marionette	TRACE	Waiting until startup recorder finished recording startup scripts...
[task 2021-02-14T11:10:01.850Z] 11:10:01     INFO -  1613301001845	Marionette	TRACE	All scripts recorded.
[task 2021-02-14T11:10:01.852Z] 11:10:01     INFO -  1613301001850	Marionette	INFO	Listening on port 2828
[task 2021-02-14T11:10:01.855Z] 11:10:01     INFO -  1613301001850	Marionette	DEBUG	Marionette is listening
[task 2021-02-14T11:10:01.971Z] 11:10:01     INFO -  1613301001959	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:49660
[task 2021-02-14T11:10:01.973Z] 11:10:01     INFO -  1613301001970	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:49662
[task 2021-02-14T11:10:01.987Z] 11:10:01     INFO -  1613301001984	Marionette	DEBUG	Closed connection 0
[task 2021-02-14T11:10:02.010Z] 11:10:02     INFO -  1613301002005	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-02-14T11:10:02.051Z] 11:10:02     INFO -  1613301002041	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"de6346ed-f769-4a8c-ae20-39d32d592ef2","capabilities":{"browserName":"firefox","browserVersion":"87.0a ... ld/tmptPRt8j.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2021-02-14T11:10:02.078Z] 11:10:02     INFO -  1613301002073	Marionette	DEBUG	1 -> [0,2,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-02-14T11:10:02.078Z] 11:10:02     INFO -  1613301002074	Marionette	DEBUG	1 <- [1,2,null,{"value":null}]
[task 2021-02-14T11:10:02.086Z] 11:10:02     INFO -  1613301002080	Marionette	DEBUG	1 -> [0,3,"WebDriver:GetChromeWindowHandles",{}]
[task 2021-02-14T11:10:02.086Z] 11:10:02     INFO -  1613301002082	Marionette	DEBUG	1 <- [1,3,null,["6"]]
[task 2021-02-14T11:10:02.089Z] 11:10:02     INFO -  1613301002086	Marionette	DEBUG	1 -> [0,4,"WebDriver:GetWindowHandles",{}]
[task 2021-02-14T11:10:02.090Z] 11:10:02     INFO -  1613301002088	Marionette	DEBUG	1 <- [1,4,null,["17"]]
[task 2021-02-14T11:10:02.093Z] 11:10:02     INFO -  1613301002091	Marionette	DEBUG	1 -> [0,5,"WebDriver:DeleteSession",{}]
[task 2021-02-14T11:10:02.096Z] 11:10:02     INFO -  1613301002093	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2021-02-14T11:10:02.098Z] 11:10:02     INFO - TEST-START | testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py TestSessionStoreEnabledAllWindows.test_with_variety```