Closed Bug 1807014 Opened 3 years ago Closed 3 years ago

Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_<XX> | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Timed out waiting for connection on 127.0.0

Categories

(Toolkit :: Startup and Profile System, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2022-12-22T14:07:56.248Z] 14:07:56     INFO -  TEST-PASS | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_15 | took 2905ms
[task 2022-12-22T14:07:56.248Z] 14:07:56     INFO -  TEST-START | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_16
[task 2022-12-22T14:07:56.249Z] 14:07:56     INFO -  1671718076249	Marionette	DEBUG	Accepted connection 2 from 127.0.0.1:52587
[task 2022-12-22T14:07:56.276Z] 14:07:56     INFO -  1671718076278	Marionette	DEBUG	2 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-12-22T14:07:56.278Z] 14:07:56     INFO -  1671718076278	Marionette	DEBUG	Waiting for initial application window
[task 2022-12-22T14:07:56.279Z] 14:07:56     INFO -  1671718076279	RemoteAgent	TRACE	[9] ProgressListener Start: expectNavigation=false resolveWhenStarted=false unloadTimeout=200 waitForExplicitStart=false
[task 2022-12-22T14:07:56.279Z] 14:07:56     INFO -  1671718076279	RemoteAgent	TRACE	[9] ProgressListener Setting unload timer (200ms)
[task 2022-12-22T14:07:56.279Z] 14:07:56     INFO -  1671718076279	RemoteAgent	TRACE	[9] Document already finished loading: about:blank
[task 2022-12-22T14:07:56.280Z] 14:07:56     INFO -  1671718076279	RemoteAgent	TRACE	[9] ProgressListener Stop: has error=false
[task 2022-12-22T14:07:56.282Z] 14:07:56     INFO -  1671718076281	Marionette	DEBUG	2 <- [1,1,null,{"sessionId":"bf961d15-db08-4e5f-bfd6-715bb645e6a5","capabilities":{"browserName":"firefox","browserVersion":"110.0a1","platformName":"windows","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":true,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221222131913","moz:headless":false,"moz:platformVersion":"10.0","moz:processID":1404,"moz:profile":"C:\\Users\\task_167170910845134\\AppData\\Local\\Temp\\tmpwwobdgmg.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
[task 2022-12-22T14:07:56.282Z] 14:07:56     INFO -  1671718076282	Marionette	DEBUG	2 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2022-12-22T14:07:56.282Z] 14:07:56     INFO -  1671718076282	Marionette	DEBUG	2 <- [1,2,null,{"value":null}]
[task 2022-12-22T14:07:56.283Z] 14:07:56     INFO -  1671718076283	Marionette	DEBUG	2 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2022-12-22T14:07:56.283Z] 14:07:56     INFO -  1671718076283	Marionette	DEBUG	2 <- [1,3,null,{"value":null}]
[task 2022-12-22T14:07:56.284Z] 14:07:56     INFO -  1671718076284	Marionette	DEBUG	2 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2022-12-22T14:07:56.284Z] 14:07:56     INFO -  1671718076284	Marionette	DEBUG	2 <- [1,4,null,{"value":null}]
[task 2022-12-22T14:07:56.285Z] 14:07:56     INFO -  1671718076285	Marionette	DEBUG	2 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.285Z] 14:07:56     INFO -  1671718076285	Marionette	DEBUG	2 <- [1,5,null,{"value":null}]
[task 2022-12-22T14:07:56.286Z] 14:07:56     INFO -  1671718076286	Marionette	DEBUG	2 -> [0,6,"Marionette:GetContext",{}]
[task 2022-12-22T14:07:56.286Z] 14:07:56     INFO -  1671718076286	Marionette	DEBUG	2 <- [1,6,null,{"value":"chrome"}]
[task 2022-12-22T14:07:56.286Z] 14:07:56     INFO -  1671718076286	Marionette	DEBUG	2 -> [0,7,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.287Z] 14:07:56     INFO -  1671718076286	Marionette	DEBUG	2 <- [1,7,null,{"value":null}]
[task 2022-12-22T14:07:56.288Z] 14:07:56     INFO -  1671718076288	Marionette	DEBUG	2 -> [0,8,"WebDriver:ExecuteScript",{"script":"// We're running in a function, in a sandbox, that inherits from an\n          // X-ray wrapped window. Anything we want to be globally available\n          // needs to be defined on that window.\n          window.env = Services.env;","args":[],"newSandbox":false,"sandbox":"win32k-autostart","line":51,"filename":"Z:\\task_167170910845134\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-22T14:07:56.293Z] 14:07:56     INFO -  1671718076293	Marionette	TRACE	[1] MarionetteCommands actor created for window id 2
[task 2022-12-22T14:07:56.294Z] 14:07:56     INFO -  1671718076294	Marionette	DEBUG	2 <- [1,8,null,{"value":null}]
[task 2022-12-22T14:07:56.295Z] 14:07:56     INFO -  1671718076295	Marionette	DEBUG	2 -> [0,9,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.295Z] 14:07:56     INFO -  1671718076295	Marionette	DEBUG	2 <- [1,9,null,{"value":null}]
[task 2022-12-22T14:07:56.296Z] 14:07:56     INFO -  1671718076296	Marionette	DEBUG	2 -> [0,10,"Marionette:GetContext",{}]
[task 2022-12-22T14:07:56.296Z] 14:07:56     INFO -  1671718076296	Marionette	DEBUG	2 <- [1,10,null,{"value":"chrome"}]
[task 2022-12-22T14:07:56.296Z] 14:07:56     INFO -  1671718076296	Marionette	DEBUG	2 -> [0,11,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.297Z] 14:07:56     INFO -  1671718076297	Marionette	DEBUG	2 <- [1,11,null,{"value":null}]
[task 2022-12-22T14:07:56.298Z] 14:07:56     INFO -  1671718076298	Marionette	DEBUG	2 -> [0,12,"WebDriver:ExecuteScript",{"script":"return Services.prefs.getBoolPref(\"security.sandbox.content.win32k-disable\");","args":[],"newSandbox":false,"sandbox":"win32k-autostart","line":51,"filename":"Z:\\task_167170910845134\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-22T14:07:56.299Z] 14:07:56     INFO -  1671718076299	Marionette	DEBUG	2 <- [1,12,null,{"value":true}]
[task 2022-12-22T14:07:56.299Z] 14:07:56     INFO -  1671718076299	Marionette	DEBUG	2 -> [0,13,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.300Z] 14:07:56     INFO -  1671718076299	Marionette	DEBUG	2 <- [1,13,null,{"value":null}]
[task 2022-12-22T14:07:56.300Z] 14:07:56     INFO -  1671718076300	Marionette	DEBUG	2 -> [0,14,"Marionette:GetContext",{}]
[task 2022-12-22T14:07:56.300Z] 14:07:56     INFO -  1671718076300	Marionette	DEBUG	2 <- [1,14,null,{"value":"chrome"}]
[task 2022-12-22T14:07:56.301Z] 14:07:56     INFO -  1671718076300	Marionette	DEBUG	2 -> [0,15,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.301Z] 14:07:56     INFO -  1671718076301	Marionette	DEBUG	2 <- [1,15,null,{"value":null}]
[task 2022-12-22T14:07:56.302Z] 14:07:56     INFO -  1671718076302	Marionette	DEBUG	2 -> [0,16,"WebDriver:ExecuteScript",{"script":"let win = Services.wm.getMostRecentWindow(\"navigator:browser\");\n          let ses = \"security.sandbox.content.win32k-experime ... sandbox.content.win32k-disable\"),\n            win32kStartupEnrollmentStatusPref: Services.prefs.getIntPref(ses),\n          };","args":[],"newSandbox":false,"sandbox":"win32k-autostart","line":51,"filename":"Z:\\task_167170910845134\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-22T14:07:56.303Z] 14:07:56     INFO -  1671718076303	Marionette	DEBUG	2 <- [1,16,null,{"value":{"win32kSessionStatus":15,"win32kStatus":15,"win32kExperimentStatus":0,"win32kPref":true,"win32kStartupEnrollmentStatusPref":0}}]
[task 2022-12-22T14:07:56.303Z] 14:07:56     INFO -  1671718076303	Marionette	DEBUG	2 -> [0,17,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-22T14:07:56.304Z] 14:07:56     INFO -  1671718076303	Marionette	DEBUG	2 <- [1,17,null,{"value":null}]
[task 2022-12-22T14:07:56.304Z] 14:07:56     INFO -  1671718076304	Marionette	DEBUG	2 -> [0,18,"Marionette:GetContext",{}]
[task 2022-12-22T14:07:56.304Z] 14:07:56     INFO -  1671718076304	Marionette	DEBUG	2 <- [1,18,null,{"value":"chrome"}]
[task 2022-12-22T14:07:56.304Z] 14:07:56     INFO -  1671718076305	Marionette	DEBUG	2 -> [0,19,"WebDriver:DeleteSession",{}]
[task 2022-12-22T14:07:56.306Z] 14:07:56     INFO -  1671718076306	Marionette	DEBUG	2 <- [1,19,null,{"value":null}]
[task 2022-12-22T14:07:56.306Z] 14:07:56     INFO -  1671718076307	Marionette	DEBUG	Closed connection 2
[task 2022-12-22T14:07:56.374Z] 14:07:56     INFO -  Application command: Z:\task_167170910845134\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile C:\Users\task_167170910845134\AppData\Local\Temp\tmp5tbomco_.mozrunner
[task 2022-12-22T14:07:56.544Z] 14:07:56     INFO -  DEBUG: Adding blocker AddonManager: shutting down. for phase profile-before-change
[task 2022-12-22T14:07:56.568Z] 14:07:56     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase profile-before-change
[task 2022-12-22T14:07:56.574Z] 14:07:56     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase profile-before-change-telemetry
[task 2022-12-22T14:07:56.574Z] 14:07:56     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2022-12-22T14:07:56.574Z] 14:07:56     INFO -  DEBUG: Adding blocker IOUtils Blocker (xpcom-will-shutdown) for phase xpcom-will-shutdown
[task 2022-12-22T14:07:56.575Z] 14:07:56     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase IOUtils: waiting for xpcomWillShutdown IO to complete
[task 2022-12-22T14:07:56.602Z] 14:07:56     INFO -  DEBUG: Adding blocker Flush WebExtension StartupCache for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2022-12-22T14:07:56.699Z] 14:07:56     INFO -  DEBUG: Adding blocker JSON store: writing data for 'addonStartup' for phase AddonManager: Waiting for providers to shut down.
[task 2022-12-22T14:07:56.701Z] 14:07:56     INFO -  DEBUG: Adding blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2022-12-22T14:07:56.705Z] 14:07:56     INFO -  DEBUG: Adding blocker XPIProvider shutdown for phase quit-application-granted
[task 2022-12-22T14:07:56.706Z] 14:07:56     INFO -  DEBUG: Adding blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2022-12-22T14:07:56.707Z] 14:07:56     INFO -  DEBUG: Adding blocker ServiceWorkerRegistrar: Flushing data for phase profile-before-change
[task 2022-12-22T14:07:56.708Z] 14:07:56     INFO -  DEBUG: Adding blocker CrashMonitor: Writing notifications to file after receiving profile-before-change and awaiting all checkpoints written for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2022-12-22T14:07:56.719Z] 14:07:56     INFO -  DEBUG: Adding blocker TelemetryController: shutting down for phase profile-before-change-telemetry
[task 2022-12-22T14:07:56.752Z] 14:07:56     INFO -  DEBUG: Adding blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2022-12-22T14:07:56.767Z] 14:07:56     INFO -  DEBUG: Adding blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
[task 2022-12-22T14:07:56.769Z] 14:07:56     INFO -  DEBUG: Adding blocker TerminatoryTelemetry: Waiting to submit telemetry for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2022-12-22T14:07:56.772Z] 14:07:56     INFO -  1671718076772	Marionette	INFO	Marionette enabled
[task 2022-12-22T14:07:56.773Z] 14:07:56     INFO -  1671718076773	Marionette	TRACE	Received observer notification final-ui-startup
[task 2022-12-22T14:07:56.775Z] 14:07:56     INFO -  1671718076775	Marionette	INFO	Listening on port 2828
[task 2022-12-22T14:07:56.775Z] 14:07:56     INFO -  1671718076775	Marionette	DEBUG	Marionette is listening
[task 2022-12-22T14:11:08.554Z] 14:11:08    ERROR -  TEST-UNEXPECTED-ERROR | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_16 | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Timed out waiting for connection on 127.0.0.1:2828!)
[task 2022-12-22T14:11:08.563Z] 14:11:08     INFO -  Traceback (most recent call last):
[task 2022-12-22T14:11:08.563Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 233, in run
[task 2022-12-22T14:11:08.563Z] 14:11:08     INFO -      self.tearDown()
[task 2022-12-22T14:11:08.563Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\tests\marionette\tests\toolkit\xre\test\marionette\test_win32k_enrollment.py", line 204, in tearDown
[task 2022-12-22T14:11:08.564Z] 14:11:08     INFO -      self.marionette.restart(in_app=False, clean=True)
[task 2022-12-22T14:11:08.564Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_driver\decorators.py", line 36, in _
[task 2022-12-22T14:11:08.564Z] 14:11:08     INFO -      m._handle_socket_failure()
[task 2022-12-22T14:11:08.564Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_driver\marionette.py", line 742, in _handle_socket_failure
[task 2022-12-22T14:11:08.564Z] 14:11:08     INFO -      reraise(
[task 2022-12-22T14:11:08.565Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\six.py", line 702, in reraise
[task 2022-12-22T14:11:08.565Z] 14:11:08     INFO -      raise value.with_traceback(tb)
[task 2022-12-22T14:11:08.566Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
[task 2022-12-22T14:11:08.566Z] 14:11:08     INFO -      return func(*args, **kwargs)
[task 2022-12-22T14:11:08.566Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1191, in restart
[task 2022-12-22T14:11:08.566Z] 14:11:08     INFO -      self.raise_for_port(timeout=self.DEFAULT_STARTUP_TIMEOUT)
[task 2022-12-22T14:11:08.567Z] 14:11:08     INFO -    File "Z:\task_167170910845134\build\venv\lib\site-packages\marionette_driver\marionette.py", line 633, in raise_for_port
[task 2022-12-22T14:11:08.567Z] 14:11:08     INFO -      raise socket.timeout(
[task 2022-12-22T14:11:08.567Z] 14:11:08     INFO -  TEST-INFO took 192290ms
[task 2022-12-22T14:11:08.567Z] 14:11:08     INFO -  TEST-START | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_17
[task 2022-12-22T14:11:08.568Z] 14:11:08     INFO -  Application command: Z:\task_167170910845134\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile C:\Users
Summary: Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_16 | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors → Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_<XX> | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors
Duplicate of this bug: 1811164
Duplicate of this bug: 1804615
Duplicate of this bug: 1805044
Summary: Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_<XX> | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors → Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_<XX> | OSError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Timed out waiting for connection on 127.0.0
Duplicate of this bug: 1811894
See Also: → 1815129
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago → 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.