RESOLVED INVALID 190233
[WinCairo] ServerError: Failed to start wptwk server
https://bugs.webkit.org/show_bug.cgi?id=190233
Summary [WinCairo] ServerError: Failed to start wptwk server
Fujii Hironori
Reported 2018-10-02 20:31:03 PDT
[WinCairo] ServerError: Failed to start wptwk server After enabling wpt tests in Bug 190129, I can't run LayoutTests. > PS C:\webkit\ga> python ./Tools/Scripts/run-webkit-tests --release --wincairo --dump-render-tree --no-new-test-results --no-retry-failures > Using port 'wincairo-win10' > Test configuration: <win10, x86_64, release> > Placing test results in C:\webkit\ga\WebKitBuild\Release\bin64\layout-test-results > Baseline search path: platform\wincairo-win10 -> platform\wincairo -> generic > Using Release build > Pixel tests disabled > Regular timeout: 30000, slow test timeout: 150000 > Command line: C:\webkit\ga\WebKitBuild\Release\bin64\DumpRenderTree.exe - > > --lint-test-files warnings: > LayoutTests\platform\wincairo\TestExpectations:1338 Path does not exist. animations/trigger-container-scroll-empty.html > LayoutTests\platform\wincairo\TestExpectations:1339 Path does not exist. legacy-animation-engine/animations/trigger-container-scroll-empty.html > > Found 56278 tests; running 15939, skipping 40339. > Starting Web Platform Test server ... > ServerError raised: Failed to start wptwk server > Traceback (most recent call last): > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\run_webkit_tests.py", line 85, in main > run_details = run(port, options, args, stderr) > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\run_webkit_tests.py", line 448, in run > run_details = manager.run(args) > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\controllers\manager.py", line 229, in run > needs_http=needs_http, needs_web_platform_test_server=needs_web_platform_test_server, needs_websockets=needs_websockets) > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\controllers\layout_test_runner.py", line 87, in __init__ > self.start_servers() > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\controllers\layout_test_runner.py", line 223, in start_servers > self._port.start_web_platform_test_server() > File "C:\webkit\ga\Tools\Scripts\webkitpy\port\base.py", line 1055, in start_web_platform_test_server > self._web_platform_test_server.start() > File "C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\servers\http_server_base.py", line 104, in start > raise ServerError('Failed to start %s server' % self._name) > ServerError: Failed to start wptwk server > PS C:\webkit\ga>
Attachments
Fujii Hironori
Comment 1 2018-10-02 20:31:51 PDT
WebKitBuild/Release/bin64/layout-test-results/wptwk_process_log.out.txt > WARNING:web-platform-tests:bind_hostname in config is deprecated; use bind_address instead > WARNING:web-platform-tests:bind_hostname in config is deprecated; use bind_address instead > INFO:web-platform-tests:Generating new CA in C:\webkit\ga\WebKitBuild\Release\bin64\layout-test-results\_wpt_certs > Traceback (most recent call last): > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\wpt.py", line 1, in <module> > execfile("wpt") > File "wpt", line 5, in <module> > wpt.main() > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wpt\wpt.py", line 132, in main > rv = script(*args, **kwargs) > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\serve\serve.py", line 802, in run > **kwargs) as config: > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\config.py", line 242, in __enter__ > data[key] = getattr(self, prefix + key)(data) > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\config.py", line 318, in _get_ssl_config > key_path, cert_path = self._ssl_env.host_cert_path(data["domains_set"]) > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 374, in host_cert_path > key, cert = self._generate_host_cert(hosts) > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 394, in _generate_host_cert > self._generate_ca() > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 345, in _generate_ca > "-passout", "pass:%s" % self.password) > File "C:\webkit\ga\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 82, in __call__ > env=env) > File "c:\tools\python27\lib\subprocess.py", line 390, in __init__ > errread, errwrite) > File "c:\tools\python27\lib\subprocess.py", line 640, in _execute_child > startupinfo) > WindowsError: [Error 2] The system cannot find the file specified It seems to try to run openssl command.
Fujii Hironori
Comment 2 2018-10-02 20:32:40 PDT
There is c:\tools\perl\c\bin\openssl.exe in the Docker container.
Note You need to log in before you can comment on or make changes to this bug.