Closed Bug 1805044 Opened 3 years ago Closed 3 years ago

Intermittent toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_17 | 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 DUPLICATE of bug 1807014

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


INFO -  TEST-PASS | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_16 | took 3340ms
[task 2022-12-10T12:03:43.032Z] 12:03:43     INFO -  TEST-START | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_17
[task 2022-12-10T12:03:43.034Z] 12:03:43     INFO -  1670673823033	Marionette	DEBUG	Closed connection 1
[task 2022-12-10T12:03:43.036Z] 12:03:43     INFO -  1670673823034	Marionette	DEBUG	Accepted connection 2 from 127.0.0.1:52548
[task 2022-12-10T12:03:43.036Z] 12:03:43     INFO -  1670673823035	Marionette	DEBUG	2 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-12-10T12:03:43.037Z] 12:03:43     INFO -  1670673823035	Marionette	DEBUG	Waiting for initial application window
[task 2022-12-10T12:03:43.037Z] 12:03:43     INFO -  1670673823036	RemoteAgent	TRACE	[9] ProgressListener Start: expectNavigation=false resolveWhenStarted=false unloadTimeout=200 waitForExplicitStart=false
[task 2022-12-10T12:03:43.037Z] 12:03:43     INFO -  1670673823036	RemoteAgent	TRACE	[9] ProgressListener Setting unload timer (200ms)
[task 2022-12-10T12:03:43.038Z] 12:03:43     INFO -  1670673823036	RemoteAgent	TRACE	[9] Document already finished loading: about:blank
[task 2022-12-10T12:03:43.038Z] 12:03:43     INFO -  1670673823036	RemoteAgent	TRACE	[9] ProgressListener Stop: has error=false
[task 2022-12-10T12:03:43.040Z] 12:03:43     INFO -  1670673823038	Marionette	DEBUG	2 <- [1,1,null,{"sessionId":"95a8ed85-b3ec-4e2c-af7b-2c534273d40c","capabilities":{"browserName":"firefox","browserVersion":"109.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":"20221210105707","moz:headless":false,"moz:platformVersion":"10.0","moz:processID":1192,"moz:profile":"C:\\Users\\task_167067109356758\\AppData\\Local\\Temp\\tmpxbgei761.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
[task 2022-12-10T12:03:43.045Z] 12:03:43     INFO -  DEBUG: Completed blocker places.sqlite#0: Bookmarks.jsm: fetchBookmark (15) for phase places.sqlite#0: waiting for clients
[task 2022-12-10T12:03:43.046Z] 12:03:43     INFO -  DEBUG: Adding blocker Transaction (16) for phase places.sqlite#0: waiting for clients
[task 2022-12-10T12:03:43.046Z] 12:03:43     INFO -  DEBUG: Adding blocker places.sqlite#0: Bookmarks.jsm: insertBookmarkTree (17) for phase places.sqlite#0: waiting for clients
[task 2022-12-10T12:03:43.050Z] 12:03:43     INFO -  1670673823049	Marionette	DEBUG	2 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2022-12-10T12:03:43.050Z] 12:03:43     INFO -  1670673823050	Marionette	DEBUG	2 <- [1,2,null,{"value":null}]
[task 2022-12-10T12:03:43.050Z] 12:03:43     INFO -  console.error: (new SyntaxError("The URI is malformed.", (void 0), 133))
[task 2022-12-10T12:03:43.053Z] 12:03:43     INFO -  1670673823054	Marionette	DEBUG	2 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2022-12-10T12:03:43.053Z] 12:03:43     INFO -  1670673823054	Marionette	DEBUG	2 <- [1,3,null,{"value":null}]
[task 2022-12-10T12:03:43.056Z] 12:03:43     INFO -  1670673823058	Marionette	DEBUG	2 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2022-12-10T12:03:43.056Z] 12:03:43     INFO -  1670673823058	Marionette	DEBUG	2 <- [1,4,null,{"value":null}]
[task 2022-12-10T12:03:43.059Z] 12:03:43     INFO -  1670673823063	Marionette	DEBUG	2 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.063Z] 12:03:43     INFO -  1670673823063	Marionette	DEBUG	2 <- [1,5,null,{"value":null}]
[task 2022-12-10T12:03:43.064Z] 12:03:43     INFO -  1670673823068	Marionette	DEBUG	2 -> [0,6,"Marionette:GetContext",{}]
[task 2022-12-10T12:03:43.069Z] 12:03:43     INFO -  1670673823068	Marionette	DEBUG	2 <- [1,6,null,{"value":"chrome"}]
[task 2022-12-10T12:03:43.075Z] 12:03:43     INFO -  1670673823077	Marionette	DEBUG	2 -> [0,7,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.077Z] 12:03:43     INFO -  1670673823077	Marionette	DEBUG	2 <- [1,7,null,{"value":null}]
[task 2022-12-10T12:03:43.078Z] 12:03:43     INFO -  1670673823080	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_167067109356758\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-10T12:03:43.085Z] 12:03:43     INFO -  1670673823085	Marionette	TRACE	[1] MarionetteCommands actor created for window id 2
[task 2022-12-10T12:03:43.086Z] 12:03:43     INFO -  1670673823086	Marionette	DEBUG	2 <- [1,8,null,{"value":null}]
[task 2022-12-10T12:03:43.087Z] 12:03:43     INFO -  1670673823090	Marionette	DEBUG	2 -> [0,9,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.091Z] 12:03:43     INFO -  1670673823090	Marionette	DEBUG	2 <- [1,9,null,{"value":null}]
[task 2022-12-10T12:03:43.095Z] 12:03:43     INFO -  1670673823097	Marionette	DEBUG	2 -> [0,10,"Marionette:GetContext",{}]
[task 2022-12-10T12:03:43.098Z] 12:03:43     INFO -  1670673823097	Marionette	DEBUG	2 <- [1,10,null,{"value":"chrome"}]
[task 2022-12-10T12:03:43.098Z] 12:03:43     INFO -  1670673823101	Marionette	DEBUG	2 -> [0,11,"Marionette:SetContext",{"value":"chrome"}]
INFO -  1670673823101	Marionette	DEBUG	2 <- [1,11,null,{"value":null}]
[task 2022-12-10T12:03:43.106Z] 12:03:43     INFO -  1670673823111	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_167067109356758\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-10T12:03:43.127Z] 12:03:43     INFO -  1670673823126	Marionette	DEBUG	2 <- [1,12,null,{"value":true}]
[task 2022-12-10T12:03:43.133Z] 12:03:43     INFO -  1670673823132	Marionette	DEBUG	2 -> [0,13,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.133Z] 12:03:43     INFO -  1670673823132	Marionette	DEBUG	2 <- [1,13,null,{"value":null}]
[task 2022-12-10T12:03:43.138Z] 12:03:43     INFO -  1670673823138	Marionette	DEBUG	2 -> [0,14,"Marionette:GetContext",{}]
[task 2022-12-10T12:03:43.138Z] 12:03:43     INFO -  1670673823138	Marionette	DEBUG	2 <- [1,14,null,{"value":"chrome"}]
[task 2022-12-10T12:03:43.145Z] 12:03:43     INFO -  1670673823145	Marionette	DEBUG	2 -> [0,15,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.145Z] 12:03:43     INFO -  1670673823145	Marionette	DEBUG	2 <- [1,15,null,{"value":null}]
[task 2022-12-10T12:03:43.151Z] 12:03:43     INFO -  1670673823150	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_167067109356758\\build\\tests\\marionette\\tests\\toolkit\\xre\\test\\marionette\\test_win32k_enrollment.py"}]
[task 2022-12-10T12:03:43.159Z] 12:03:43     INFO -  DEBUG: Adding blocker Search service: shutting down for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2022-12-10T12:03:43.168Z] 12:03:43     INFO -  1670673823171	Marionette	DEBUG	2 <- [1,16,null,{"value":{"win32kSessionStatus":15,"win32kStatus":15,"win32kExperimentStatus":0,"win32kPref":true,"win32kStartupEnrollmentStatusPref":0}}]
[task 2022-12-10T12:03:43.172Z] 12:03:43     INFO -  console.error: (new SyntaxError("The URI is malformed.", (void 0), 133))
[task 2022-12-10T12:03:43.176Z] 12:03:43     INFO -  1670673823176	Marionette	DEBUG	2 -> [0,17,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-10T12:03:43.176Z] 12:03:43     INFO -  1670673823177	Marionette	DEBUG	2 <- [1,17,null,{"value":null}]
[task 2022-12-10T12:03:43.178Z] 12:03:43     INFO -  1670673823177	Marionette	DEBUG	2 -> [0,18,"Marionette:GetContext",{}]
[task 2022-12-10T12:03:43.178Z] 12:03:43     INFO -  1670673823178	Marionette	DEBUG	2 <- [1,18,null,{"value":"chrome"}]
[task 2022-12-10T12:03:43.178Z] 12:03:43     INFO -  1670673823178	Marionette	DEBUG	2 -> [0,19,"WebDriver:DeleteSession",{}]
[task 2022-12-10T12:03:43.179Z] 12:03:43     INFO -  1670673823180	Marionette	DEBUG	2 <- [1,19,null,{"value":null}]
[task 2022-12-10T12:03:43.181Z] 12:03:43     INFO -  console.error: (new SyntaxError("The URI is malformed.", (void 0), 133))
[task 2022-12-10T12:03:43.310Z] 12:03:43     INFO -  Application command: Z:\task_167067109356758\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile C:\Users\task_167067109356758\AppData\Local\Temp\tmp570_u4ba.mozrunner
[task 2022-12-10T12:03:43.500Z] 12:03:43     INFO -  DEBUG: Adding blocker AddonManager: shutting down. for phase profile-before-change
[task 2022-12-10T12:03:43.512Z] 12:03:43     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase profile-before-change
[task 2022-12-10T12:03:43.518Z] 12:03:43     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase profile-before-change-telemetry
[task 2022-12-10T12:03:43.519Z] 12:03:43     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2022-12-10T12:03:43.519Z] 12:03:43     INFO -  DEBUG: Adding blocker IOUtils Blocker (xpcom-will-shutdown) for phase xpcom-will-shutdown
[task 2022-12-10T12:03:43.519Z] 12:03:43     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase IOUtils: waiting for xpcomWillShutdown IO to complete
[task 2022-12-10T12:03:43.546Z] 12:03:43     INFO -  DEBUG: Adding blocker Flush WebExtension StartupCache for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2022-12-10T12:03:43.643Z] 12:03:43     INFO -  DEBUG: Adding blocker JSON store: writing data for 'addonStartup' for phase AddonManager: Waiting for providers to shut down.
[task 2022-12-10T12:03:43.647Z] 12:03:43     INFO -  DEBUG: Adding blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2022-12-10T12:03:43.650Z] 12:03:43     INFO -  DEBUG: Adding blocker XPIProvider shutdown for phase quit-application-granted
[task 2022-12-10T12:03:43.652Z] 12:03:43     INFO -  DEBUG: Adding blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2022-12-10T12:03:43.652Z] 12:03:43     INFO -  DEBUG: Adding blocker ServiceWorkerRegistrar: Flushing data for phase profile-before-change
[task 2022-12-10T12:03:43.654Z] 12:03:43     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-10T12:03:43.665Z] 12:03:43     INFO -  DEBUG: Adding blocker TelemetryController: shutting down for phase profile-before-change-telemetry
[task 2022-12-10T12:03:43.697Z] 12:03:43     INFO -  DEBUG: Adding blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2022-12-10T12:03:43.712Z] 12:03:43     INFO -  DEBUG: Adding blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
[task 2022-12-10T12:03:43.715Z] 12:03:43     INFO -  DEBUG: Adding blocker TerminatoryTelemetry: Waiting to submit telemetry for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2022-12-10T12:03:43.717Z] 12:03:43     INFO -  1670673823717	Marionette	INFO	Marionette enabled
INFO -  1670673823718	Marionette	TRACE	Received observer notification final-ui-startup
[task 2022-12-10T12:03:43.720Z] 12:03:43     INFO -  1670673823720	Marionette	INFO	Listening on port 2828
[task 2022-12-10T12:03:43.720Z] 12:03:43     INFO -  1670673823720	Marionette	DEBUG	Marionette is listening
[task 2022-12-10T12:06:55.517Z] 12:06:55    ERROR -  TEST-UNEXPECTED-ERROR | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_17 | 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-10T12:06:55.524Z] 12:06:55     INFO -  Traceback (most recent call last):
[task 2022-12-10T12:06:55.525Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 235, in run
[task 2022-12-10T12:06:55.525Z] 12:06:55     INFO -      self.tearDown()
[task 2022-12-10T12:06:55.525Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\tests\marionette\tests\toolkit\xre\test\marionette\test_win32k_enrollment.py", line 204, in tearDown
[task 2022-12-10T12:06:55.525Z] 12:06:55     INFO -      self.marionette.restart(in_app=False, clean=True)
[task 2022-12-10T12:06:55.526Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_driver\decorators.py", line 37, in _
[task 2022-12-10T12:06:55.526Z] 12:06:55     INFO -      m._handle_socket_failure()
[task 2022-12-10T12:06:55.526Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_driver\marionette.py", line 745, in _handle_socket_failure
[task 2022-12-10T12:06:55.526Z] 12:06:55     INFO -      reraise(
[task 2022-12-10T12:06:55.526Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\six.py", line 702, in reraise
[task 2022-12-10T12:06:55.527Z] 12:06:55     INFO -      raise value.with_traceback(tb)
[task 2022-12-10T12:06:55.527Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_driver\decorators.py", line 27, in _
[task 2022-12-10T12:06:55.527Z] 12:06:55     INFO -      return func(*args, **kwargs)
[task 2022-12-10T12:06:55.527Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1194, in restart
[task 2022-12-10T12:06:55.528Z] 12:06:55     INFO -      self.raise_for_port(timeout=self.DEFAULT_STARTUP_TIMEOUT)
[task 2022-12-10T12:06:55.528Z] 12:06:55     INFO -    File "Z:\task_167067109356758\build\venv\lib\site-packages\marionette_driver\marionette.py", line 636, in raise_for_port
[task 2022-12-10T12:06:55.528Z] 12:06:55     INFO -      raise socket.timeout(
[task 2022-12-10T12:06:55.528Z] 12:06:55     INFO -  TEST-INFO took 192475ms
[task 2022-12-10T12:06:55.528Z] 12:06:55     INFO -  TEST-START | toolkit/xre/test/marionette/test_win32k_enrollment.py TestWin32kAutostart.test_18
Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1807014
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.