Bug 63846
Summary: | test-webkitpy doesn't work on the cygwin port | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dirk Pranke <dpranke> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | abarth, aroben, eric |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Dirk Pranke
I'm not sure if this is just the stock cygwin we use in chromium or if this also doesn't work on the version of cygwin used on the apple win bots.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
Doesn't work in what way? I don't see any obvious problems in <http://build.webkit.org/builders/Windows%207%20Release%20%28Tests%29/builds/14458/steps/webkitpy-test/logs/stdio>, which is running test-webkitpy under Cygwin.
Dirk Pranke
Hm ... thought I added a comment to this explaining myself, but it's not there.
At least on my machine, I get lots of crashes from anything that tries to fork a command. This is stock cygwin 2.7 running on a win 7 machine.
E.g.:
src $ test-webkitpy
test-webkitpy: INFO Suppressing most webkitpy logging while running unit tes
ts.
test-webkitpy: WARNING You are testing webkitpy with a Python version (2.6.5) h
igher than the minimum version (2.5) it was meant to support.
test-webkitpy: WARNING Skipping tests in /cygdrive/d/src/dev/src/third_party/We
bKit/Tools/QueueStatusServer due to failure (No module named dev_appserver). Th
is module is optional. The failure is likely due to a missing Google AppEngine
install. (http://code.google.com/appengine/downloads.html)
webkitpy.test.main: INFO Excluding: webkitpy.common.checkout.scm.scm_unittes
t (use --all to include)
0 [main] python 35852 C:\cygwin\bin\python.exe: *** fatal error - unable t
o remap \\?\C:\cygwin\lib\python2.6\lib-dynload\_random.dll to same address as p
arent: 0x3E0000 != 0x3F0000
Stack trace:
Frame Function Args
00283028 6102749B (00283028, 00000000, 00000000, 00000000)
00283318 6102749B (61177B80, 00008000, 00000000, 61179977)
00284348 61004AFB (611A136C, 61242214, 003E0000, 003F0000)
End of stack trace
0 [main] python 17328 fork: child 35852 - died waiting for dll loading, er
rno 11
Traceback (most recent call last):
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/test-webkitpy",
line 266, in <module>
Tester().run_tests(sys.argv, external_package_paths)
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/test/m
ain.py", line 160, in run_tests
__import__(module)
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/to_be_
moved/deduplicate_tests_unittest.py", line 27, in <module>
import deduplicate_tests
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/to_be_
moved/deduplicate_tests.py", line 176, in <module>
checkout_root=scm.find_checkout_root()):
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py", line 45, in find_checkout_root
scm_system = default_scm()
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py", line 61, in default_scm
scm_system = detect_scm_system(cwd, patch_directories)
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py", line 81, in detect_scm_system
if Git.in_working_directory(absolute_path):
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/git.py", line 91, in in_working_directory
return run_command(['git', 'rev-parse', '--is-inside-work-tree'], cwd=path,
error_handler=Executive.ignore_error).rstrip() == "true"
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py", line 102, in run_command
return Executive().run_command(*args, **kwargs)
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py", line 421, in run_command
close_fds=self._should_close_fds())
File "/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py", line 477, in popen
return subprocess.Popen(*args, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
src $
Adam Roben (:aroben)
You probably need to follow these instructions: http://trac.webkit.org/wiki/BuildingOnWindows#ErrorlaunchingApachefromrun-webkit-testsonVista7orothererrorsthatmentionthewordremap
Dirk Pranke
Wow, that worked! 2+ years of useless rebasealls have come to and end. Thanks!