Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interruption due to regression in Safari Technology Preview #609

Closed
jugglinmike opened this issue Sep 27, 2018 · 2 comments

Comments

@jugglinmike
Copy link
Collaborator

commented Sep 27, 2018

Safari Technology Preview version 66 was released yesterday (2018-09-26), and the subsequent collection attempt failed. The build error occurs while attempting to enable remote automation. It can be reproduced by attempting to run SafariDriver, e.g.

"/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --port 9876

That command is expected to start a WebDriver server. In Safari Technology Preveiw version 66, it immediately fails with an exit code of 1. No information is printed to standard ouput or standard error, but the following logging messages are available in the macOS "Console" application:

default	12:47:43.414667 -0400	safaridriver	Trying to get the authorization right without user interaction.
default	12:47:43.420134 -0400	trustd	cert[2]: AnchorTrusted =(leaf)[force]> 0
default	12:47:43.422339 -0400	authd	MacOS error: -67050
default	12:47:43.426822 -0400	authd	engine: - validating session owner kazooie (503) for is-admin
default	12:47:43.428090 -0400	authd	engine: - session owner 503 (does NOT satisfy rule), reason -1
default	12:47:43.428188 -0400	authd	engine: - validating session owner kazooie (503) for is-webdeveloper
default	12:47:43.429377 -0400	authd	engine: - session owner 503 is member of group _webdeveloper (does satisfy rule)
default	12:47:43.429433 -0400	authd	Succeeded authorizing right 'com.apple.safaridriver.allow' by client '/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver' [56996] for authorization created by '/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver' [56996] (2,0)
default	12:47:43.429720 -0400	safaridriver	Launched.
default	12:47:43.430374 -0400	safaridriver	Attempting to establish XPC connection to com.apple.WebDriver.HTTPService.
default	12:47:43.527811 -0400	com.apple.WebDriver.HTTPService	sandbox compile: <private>
error	12:47:43.528214 -0400	com.apple.WebDriver.HTTPService	Could not initialize the sandbox, error: <input string>:1:1: unbound variable:
	//
.
fault	12:47:43.531331 -0400	safaridriver	XPC connection to com.apple.WebDriver.HTTPService was interrupted, the server probably exited or crashed.

I've recently been expecimenting with collecting results from the stable release of Safari (in service of gh-604), so I initially suspected that may be the cause of the problem. However, after uninstalling version 66 and installing 65, the command referenced above operates as expected.

@burg Would you mind reporting this in WebKit's internal issue tracker? I've generated a system report using sysdiagnose--let me know if you'd like me to e-mail it to you.

@burg

This comment has been minimized.

Copy link

commented Sep 27, 2018

I'm taking a look at this.

@jugglinmike

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 28, 2018

Brian has confirmed the issue, and a fix is on the way.

In the mean time, I'll see what I can do about hard-coding this project to use Safari Technology Preview version 65.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.