| Summary: | [Win] WPT server fails to start: datetime.strptime thows "ValueError: unconverted data remains" exception | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | gsnedders, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Fujii Hironori
2020-07-09 01:02:22 PDT
Here are thee content of 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
DEBUG:web-platform-tests:notAfter=Aug 8 07:50:02 2020 GMT
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Traceback (most recent call last):
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\wpt.py", line 1, in <module>
execfile("wpt")
File "wpt", line 5, in <module>
wpt.main()
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wpt\wpt.py", line 171, in main
rv = script(*args, **kwargs)
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\serve\serve.py", line 890, in run
**kwargs) as config:
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\config.py", line 271, in __enter__
data[key] = getattr(self, prefix + key)(data)
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\config.py", line 347, in _get_ssl_config
key_path, cert_path = self._ssl_env.host_cert_path(data["domains_set"])
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 382, in host_cert_path
key_cert = self._load_host_cert(hosts)
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 399, in _load_host_cert
if self.check_key_cert(key_path, cert_path, hosts):
File "C:\home\webkit\gc\LayoutTests\imported\w3c\web-platform-tests\tools\wptserve\wptserve\sslutils\openssl.py", line 329, in check_key_cert
end_date = datetime.strptime(end_date_str, "%b %d %H:%M:%S %Y %Z")
File "C:\Python27\lib\_strptime.py", line 335, in _strptime
data_string[found.end():])
ValueError: unconverted data remains:
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
openssl.exe output a warning message. And, datetime.strptime fails to parse the time output by openssl.exe. The time string contains the extra warning string. "Aug 8 07:50:02 2020 GMT WARNING: can't open config file: /usr/local/ssl/openssl.cnf" |