Closed Bug 1403688 Opened 7 years ago Closed 7 years ago

Intermittent /html/browsers/windows/browsing-context-names/choose-_parent-001.html | Current window does not have a content browser

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

:automatedtester, I know :jgraham is out for a few weeks, could you help find someone familiar with the web-platform-tests harness to see if the harness is responsible for this bug and bug 1403428, or if we could surface the real error?
Component: web-platform-tests → DOM
Flags: needinfo?(dburns)
Product: Testing → Core
Whiteboard: [stockwell needswork:owner]
Version: Version 3 → unspecified
I have been able to reproduce this with --repeat-until-unexpected

The issue, on the face of it, appears to be a race condition.

3:40.67 TEST_END: Thread-TestrunnerManager-8 Harness OK. Subtests passed 1/1. Unexpected 0
 3:40.67 TEST_START: Thread-TestrunnerManager-8 /html/browsers/windows/auxiliary-browsing-contexts/opener-noopener.html
 3:40.73 PROCESS_OUTPUT: ProcessReader (pid:83429) "1507629266876	Marionette	DEBUG	Register listener.js for window 2147483674"
 3:41.45 TEST_END: Thread-TestrunnerManager-8 Harness OK. Subtests passed 1/1. Unexpected 0
 3:41.45 TEST_START: Thread-TestrunnerManager-8 /html/browsers/windows/auxiliary-browsing-contexts/opener-noreferrer.html
 3:41.49 PROCESS_OUTPUT: ProcessReader (pid:83429) "Unable to read VR Path Registry from /Users/dburns/Library/Application Support/OpenVR/.openvr/openvrpaths.vrpath"
 3:41.69 PROCESS_OUTPUT: ProcessReader (pid:83429) "1507629267824	Marionette	DEBUG	Register listener.js for window 2147483677"
 3:41.76 PROCESS_OUTPUT: ProcessReader (pid:83429) "2017-10-10 10:54:27.901 plugin-container[83433:10173211] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xa233, name = 'com.apple.tsm.portname'"
 3:41.77 PROCESS_OUTPUT: ProcessReader (pid:83429) "See /usr/include/servers/bootstrap_defs.h for the error codes."
 3:41.99 PROCESS_OUTPUT: ProcessReader (pid:83429) "1507629268131	Marionette	DEBUG	Register listener.js for window 6442450945"
 3:42.15 TEST_END: Thread-TestrunnerManager-8 Harness OK. Subtests passed 1/1. Unexpected 0
 3:42.15 TEST_START: Thread-TestrunnerManager-8 /html/browsers/windows/auxiliary-browsing-contexts/opener.html
 3:42.25 TEST_END: Thread-TestrunnerManager-8 ERROR, expected OK
Unable to locate window: 6442450945
stacktrace:
	WebDriverError@chrome://marionette/content/error.js:239:5
	NoSuchWindowError@chrome://marionette/content/error.js:481:5
	GeckoDriver.prototype.switchToWindow@chrome://marionette/content/driver.js:1578:11
	Async*despatch@chrome://marionette/content/server.js:561:20
	async*execute@chrome://marionette/content/server.js:535:11
	async*onPacket/<@chrome://marionette/content/server.js:510:15
	async*onPacket@chrome://marionette/content/server.js:509:8
	_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9

 3:42.28 PROCESS_OUTPUT: ProcessReader (pid:83429) "1507629268421	Marionette	INFO	New connections will no longer be accepted"
 3:42.44 PROCESS_OUTPUT: ProcessReader (pid:83429) "*** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping"
 3:42.91 LOG: Thread-TestrunnerManager-8 INFO Browser exited with return code 0
 3:42.91 LOG: Thread-TestrunnerManager-8 WARNING u'runner_teardown' ()
The test that is failing to find the window is moving so looking more like a race condition.
Looks like we are not waiting for the browser to be fully registered. This looks like it is depending on bug 1363368
Depends on: 1363368
Flags: needinfo?(dburns)
Priority: -- → P2
https://wiki.mozilla.org/Bugmasters#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.