WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
113911
Default Apache 1 Install in Cygwin does not work with NRWT
https://bugs.webkit.org/show_bug.cgi?id=113911
Summary
Default Apache 1 Install in Cygwin does not work with NRWT
Brent Fulgham
Reported
2013-04-03 17:19:25 PDT
Attempting to run the 'new-run-webkit-tests' script on the Apple Windows port fails due to a number of problems with the stock Apache installation included with Cygwin. 1. The default httpd.exe program is Apache 1.3.33, which does NOT support the "-k" argument. Consequently, the start/stop logic in NRWTs does not work. 2. If you work around the "-k" issue (by modifying the webkitpy sources), it will fail due to the "-C SSLCertificateFile" argument. A run log follows: bfulgham@bfulgham-Win7VM ~/WebKit/WebKitBuild $ new-run-webkit-tests Using port 'win-future' Test configuration: <future, x86, debug> Placing test results in /cygdrive/e/Projects/WebKit/WebKitBuild/Debug/bin/layout -test-results Baseline search path: win -> mac-lion -> mac -> generic Using Debug build Pixel tests disabled Regular timeout: 35000, slow test timeout: 175000 Command line: /cygdrive/e/Projects/WebKit/WebKitBuild/Debug/bin/DumpRenderTree - --lint-test-files warnings: LayoutTests/platform/win/TestExpectations:2519 Duplicate or ambiguous entry line s LayoutTests/platform/win/TestExpectations:1786 and LayoutTests/platform/win/Te stExpectations:2519. fast/encoding/utf-16-big-endian.html LayoutTests/platform/win/TestExpectations:2520 Duplicate or ambiguous entry line s LayoutTests/platform/win/TestExpectations:1787 and LayoutTests/platform/win/Te stExpectations:2520. fast/encoding/utf-16-little-endian.html Found 34461 tests; running 17584, skipping 16877. Starting HTTP server ... ServerError raised: Failed to start httpd: httpd: unknown option -- k Usage: /usr/sbin/httpd [-R directory] [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F] Options: -R directory : specify an alternate location for shared object files -D name : define a name for use in <IfDefine name> directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled-in modules -L : list available configuration directives -S : show parsed settings (currently only vhost settings) -t : run syntax check for config files (with docroot check) -T : run syntax check for config files (without docroot check) -F : run main process in foreground, for process supervisors Traceback (most recent call last): File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webk it_tests.py", line 80, in main run_details = run(port, options, args, stderr) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webk it_tests.py", line 381, in run run_details = manager.run(args) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/controll ers/manager.py", line 198, in run int(self._options.child_processes), retrying=False) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/controll ers/manager.py", line 252, in _run_tests return self._runner.run_tests(self._expectations, test_inputs, tests_to_skip , num_workers, needs_http, needs_websockets, retrying) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/controll ers/layout_test_runner.py", line 120, in run_tests self.start_servers_with_lock(2 * min(num_workers, len(locked_shards))) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/controll ers/layout_test_runner.py", line 205, in start_servers_with_lock self._port.start_http_server(number_of_servers=number_of_servers) File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/port/bas e.py", line 955, in start_http_server server.start() File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ http_server_base.py", line 90, in start self._pid = self._spawn_process() File "/cygdrive/e/Projects/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ apache_http_server.py", line 155, in _spawn_process raise http_server_base.ServerError('Failed to start %s: %s' % (self._name, e rr)) ServerError: Failed to start httpd: httpd: unknown option -- k Usage: /usr/sbin/httpd [-R directory] [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F] Options: -R directory : specify an alternate location for shared object files -D name : define a name for use in <IfDefine name> directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled-in modules -L : list available configuration directives -S : show parsed settings (currently only vhost settings) -t : run syntax check for config files (with docroot check) -T : run syntax check for config files (without docroot check) -F : run main process in foreground, for process supervisors bfulgham@bfulgham-Win7VM ~/WebKit/WebKitBuild
Attachments
Add attachment
proposed patch, testcase, etc.
Abhijeet Kandalkar
Comment 1
2013-05-10 22:04:48 PDT
Facing same problem
r149922
. OS Windows 7 Apple webkit
Brent Fulgham
Comment 2
2013-06-03 13:24:17 PDT
For a variety of reasons we are switching to using lighttpd on Windows. Therefore, we will not attempt to make NRWT work with apache 1.
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