Title: [250593] trunk
- Revision
- 250593
- Author
- [email protected]
- Date
- 2019-10-01 20:45:39 -0700 (Tue, 01 Oct 2019)
Log Message
[win-ews] No such file or directory: u'/cygdrive/C/cygwin/home/buildbot/WebKit/WebKitBuild/Release/bin32/layout-test-results/pywebsocket.ws.log-out.txt'
https://bugs.webkit.org/show_bug.cgi?id=188640
Patch by Alexey Shvayka <[email protected]> on 2019-10-01
Reviewed by Alex Christensen.
Tools:
1. Properly shutdown WebSocket server so that port 8880 is released.
2. Prevent failure of WebSocket tests when launched in freshly cloned repository.
* Scripts/new-run-webkit-websocketserver:
(main): Tweak import and use class constants of PyWebSocket directly.
* Scripts/webkitpy/layout_tests/servers/websocket_server.py:
(PyWebSocket._prepare_config): Create test output directory if it doesn't exist.
LayoutTests:
WebSocket server is now fixed, tests should pass.
Reverted changeset:
"Unreviewed test gardening"
https://bugs.webkit.org/show_bug.cgi?id=188640
https://trac.webkit.org/changeset/234933
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (250592 => 250593)
--- trunk/LayoutTests/ChangeLog 2019-10-02 03:40:27 UTC (rev 250592)
+++ trunk/LayoutTests/ChangeLog 2019-10-02 03:45:39 UTC (rev 250593)
@@ -1,3 +1,18 @@
+2019-10-01 Alexey Shvayka <[email protected]>
+
+ [win-ews] No such file or directory: u'/cygdrive/C/cygwin/home/buildbot/WebKit/WebKitBuild/Release/bin32/layout-test-results/pywebsocket.ws.log-out.txt'
+ https://bugs.webkit.org/show_bug.cgi?id=188640
+
+ Reviewed by Alex Christensen.
+
+ WebSocket server is now fixed, tests should pass.
+
+ Reverted changeset:
+
+ "Unreviewed test gardening"
+ https://bugs.webkit.org/show_bug.cgi?id=188640
+ https://trac.webkit.org/changeset/234933
+
2019-10-01 John Wilander <[email protected]>
Storage Access API: document.hasStorageAccess() should return true when the cookie policy allows access
Modified: trunk/LayoutTests/platform/win/TestExpectations (250592 => 250593)
--- trunk/LayoutTests/platform/win/TestExpectations 2019-10-02 03:40:27 UTC (rev 250592)
+++ trunk/LayoutTests/platform/win/TestExpectations 2019-10-02 03:45:39 UTC (rev 250593)
@@ -3174,6 +3174,7 @@
http/tests/security/local-video-src-from-remote.html [ Failure Pass Crash ]
http/tests/security/video-cross-origin-caching.html [ Crash Failure Timeout Pass ]
http/tests/security/video-poster-cross-origin-crash2.html [ Crash Failure Pass ]
+http/tests/websocket/tests/hybi/deflate-frame-parameter.html [ Failure ]
security/contentSecurityPolicy/worker-inherits-blocks-eval.html [ Failure Pass ]
storage/indexeddb/database-close-private.html [ Failure Pass ]
security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html [ ImageOnlyFailure Pass Crash ]
@@ -3701,6 +3702,7 @@
http/tests/security/contentSecurityPolicy/audio-redirect-allowed.html [ Crash Timeout Pass ]
http/tests/security/contentSecurityPolicy/audio-redirect-blocked.html [ Timeout Failure Crash ]
http/tests/security/contentSecurityPolicy/block-favicon.html [ Failure Pass ]
+http/tests/websocket/tests/hybi/workers/close-code-and-reason.html [ Crash Pass ]
svg/animations/animations-paused-in-background-page.html [ Timeout Pass ]
# FIXME: create bugs to track the following failures:
@@ -3849,6 +3851,8 @@
webkit.org/b/176598 http/tests/security/contentSecurityPolicy/audio-redirect-allowed2.html [ Pass Crash ]
webkit.org/b/176606 http/tests/preload/single_download_preload_headers.php [ Pass Crash ]
+webkit.org/b/176609 http/tests/websocket/tests/hybi/close-code-and-reason.html [ Pass Crash ]
+webkit.org/b/176632 http/tests/websocket/tests/hybi/websocket-pending-activity.html [ Pass Crash ]
# Web platform tests are very slow on Windows.
webkit.org/b/176657 imported/w3c/web-platform-tests/ [ Skip ]
@@ -3865,6 +3869,8 @@
webkit.org/b/177071 fast/events/beforeunload-dom-manipulation-crash.html [ Crash ]
+webkit.org/b/177072 http/tests/websocket/tests/hybi/secure-cookie-secure-connection.pl [ Failure ]
+
webkit.org/b/177109 fast/css/display-contents-style-update.html [ ImageOnlyFailure ]
webkit.org/b/177212 accessibility/crash-table-recursive-layout.html [ Failure ]
@@ -4031,6 +4037,9 @@
webkit.org/b/184133 transitions/opacity-transition-zindex.html [ Skip ]
webkit.org/b/184133 legacy-animation-engine/transitions/opacity-transition-zindex.html [ Skip ]
+webkit.org/b/187762 http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party.html [ Pass ]
+webkit.org/b/187762 http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html [ Pass Failure ]
+
webkit.org/b/184482 legacy-animation-engine/compositing/animation/animation-backing.html [ Failure ]
webkit.org/b/184482 legacy-animation-engine/compositing/animation/animation-compositing.html [ Failure ]
webkit.org/b/184482 legacy-animation-engine/compositing/backing/backface-visibility-flip.html [ Failure ]
@@ -4136,10 +4145,6 @@
webkit.org/b/188600 editing/input/press-tab-during-ime-composition.html [ Failure ]
-http/tests/security/mixedContent/websocket [ Skip ]
-http/tests/websocket [ Skip ]
-imported/blink/http/tests/security/mixedContent/websocket [ Skip ]
-imported/blink/http/tests/websocket [ Skip ]
imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-allowed.sub.html [ Skip ]
imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html [ Skip ]
imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-self.sub.html [ Skip ]
Modified: trunk/Tools/ChangeLog (250592 => 250593)
--- trunk/Tools/ChangeLog 2019-10-02 03:40:27 UTC (rev 250592)
+++ trunk/Tools/ChangeLog 2019-10-02 03:45:39 UTC (rev 250593)
@@ -1,3 +1,18 @@
+2019-10-01 Alexey Shvayka <[email protected]>
+
+ [win-ews] No such file or directory: u'/cygdrive/C/cygwin/home/buildbot/WebKit/WebKitBuild/Release/bin32/layout-test-results/pywebsocket.ws.log-out.txt'
+ https://bugs.webkit.org/show_bug.cgi?id=188640
+
+ Reviewed by Alex Christensen.
+
+ 1. Properly shutdown WebSocket server so that port 8880 is released.
+ 2. Prevent failure of WebSocket tests when launched in freshly cloned repository.
+
+ * Scripts/new-run-webkit-websocketserver:
+ (main): Tweak import and use class constants of PyWebSocket directly.
+ * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
+ (PyWebSocket._prepare_config): Create test output directory if it doesn't exist.
+
2019-10-01 Alex Christensen <[email protected]>
Progress towards a functioning CMake build on Mac
Modified: trunk/Tools/Scripts/new-run-webkit-websocketserver (250592 => 250593)
--- trunk/Tools/Scripts/new-run-webkit-websocketserver 2019-10-02 03:40:27 UTC (rev 250592)
+++ trunk/Tools/Scripts/new-run-webkit-websocketserver 2019-10-02 03:45:39 UTC (rev 250593)
@@ -35,7 +35,7 @@
import tempfile
from webkitpy.common.host import Host
-from webkitpy.layout_tests.servers import websocket_server
+from webkitpy.layout_tests.servers.websocket_server import PyWebSocket
from webkitpy.port import platform_options
@@ -81,11 +81,9 @@
if not options.port:
if options.use_tls:
- # FIXME: We shouldn't grab at this private variable.
- options.port = websocket_server._DEFAULT_WSS_PORT
+ options.port = PyWebSocket.DEFAULT_WSS_PORT
else:
- # FIXME: We shouldn't grab at this private variable.
- options.port = websocket_server._DEFAULT_WS_PORT
+ options.port = PyWebSocket.DEFAULT_WS_PORT
if not options.output_dir:
options.output_dir = tempfile.gettempdir()
@@ -104,7 +102,7 @@
host = Host()
port_obj = host.port_factory.get(options.platform, options=options)
- pywebsocket = websocket_server.PyWebSocket(port_obj, options.output_dir, **kwds)
+ pywebsocket = PyWebSocket(port_obj, options.output_dir, **kwds)
log_level = logging.WARN
if options.verbose:
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/servers/websocket_server.py (250592 => 250593)
--- trunk/Tools/Scripts/webkitpy/layout_tests/servers/websocket_server.py 2019-10-02 03:40:27 UTC (rev 250592)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/servers/websocket_server.py 2019-10-02 03:45:39 UTC (rev 250593)
@@ -109,6 +109,7 @@
return [self._port]
def _prepare_config(self):
+ self._filesystem.maybe_make_directory(self._output_dir)
log_file_name = self._log_prefix
# FIXME: Doesn't Executive have a devnull, so that we don't have to use os.devnull directly?
self._wsin = open(os.devnull, 'r')
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes