WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204728
Update WPT tools directory
https://bugs.webkit.org/show_bug.cgi?id=204728
Summary
Update WPT tools directory
Simon Fraser (smfr)
Reported
2019-12-01 08:33:53 PST
Upadate WPT tools directory
Attachments
Patch
(3.97 MB, patch)
2019-12-01 08:35 PST
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch using importer
(1.73 MB, patch)
2019-12-03 06:20 PST
,
youenn fablet
simon.fraser
: review+
Details
Formatted Diff
Diff
Patch for landing
(1.73 MB, patch)
2019-12-04 05:45 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-12-01 08:35:53 PST
Created
attachment 384574
[details]
Patch
Simon Fraser (smfr)
Comment 2
2019-12-01 08:37:24 PST
Should I preserved the tools/wptserve/wptserve/*/w3c-import.log files? If so, we should move them out of the tools directory.
Aakash Jain
Comment 3
2019-12-01 17:07:33 PST
This patch prevents layout-tests from running, with below error. e.g.:
https://ews-build.webkit.org/#/builders/17/builds/7579
ServerError raised: WPT Server process exited prematurely with status code None The cmdline for running the WPT server was: ['python', '/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/LayoutTests/imported/w3c/web-platform-tests/wpt.py', 'serve', '--config', '/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/LayoutTests/imported/w3c/web-platform-tests/config.json'] Traceback (most recent call last): File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 91, in main run_details = run(port, options, args, stderr) File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 466, in run run_details = manager.run(args) File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 230, in run needs_http=needs_http, needs_web_platform_test_server=needs_web_platform_test_server, needs_websockets=needs_websockets) File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 88, in __init__ self.start_servers() File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 224, in start_servers self._port.start_web_platform_test_server() File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/port/base.py", line 1036, in start_web_platform_test_server self._web_platform_test_server.start() File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/servers/http_server_base.py", line 98, in start self._pid = self._spawn_process() File "/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py", line 141, in _spawn_process raise http_server_base.ServerError(error_log) ServerError: WPT Server process exited prematurely with status code None
youenn fablet
Comment 4
2019-12-02 00:49:07 PST
(In reply to Simon Fraser (smfr) from
comment #2
)
> Should I preserved the tools/wptserve/wptserve/*/w3c-import.log files? > > If so, we should move them out of the tools directory.
We use the logs to remove WebKit imported files that have been removed from the upstream repo. "Tools/Scripts/import-w3c-tests -t web-platform-tests/tools"should do the trick. This should keep generation of the w3c-import.log files. I tried the patch locally and it works for me. As of the build error, we do not have much info. /Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/layout-test-results/wptwk_process_log.out.txt should give more information. It might be good to regenerate the patch with Tools/Scripts/import-w3c-tests and if still failing, check the above file for more information.
youenn fablet
Comment 5
2019-12-03 06:20:04 PST
Created
attachment 384712
[details]
Patch using importer
youenn fablet
Comment 6
2019-12-03 06:40:17 PST
New patch seems to run well.
Simon Fraser (smfr)
Comment 7
2019-12-03 08:31:48 PST
Comment on
attachment 384712
[details]
Patch using importer r=me but please check the test failures.
youenn fablet
Comment 8
2019-12-04 05:42:16 PST
Failures are probably due to changes in tools. This might require resyncing service worker and xhr tests. I'll update test expectations to land this patch first.
youenn fablet
Comment 9
2019-12-04 05:45:28 PST
Created
attachment 384806
[details]
Patch for landing
WebKit Commit Bot
Comment 10
2019-12-04 07:44:27 PST
Comment on
attachment 384806
[details]
Patch for landing Clearing flags on attachment: 384806 Committed
r253104
: <
https://trac.webkit.org/changeset/253104
>
WebKit Commit Bot
Comment 11
2019-12-04 07:44:28 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12
2019-12-04 07:45:24 PST
<
rdar://problem/57623876
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug