<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>63846</bug_id>
          
          <creation_ts>2011-07-01 14:18:23 -0700</creation_ts>
          <short_desc>test-webkitpy doesn&apos;t work on the cygwin port</short_desc>
          <delta_ts>2011-07-05 13:26:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>aroben</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>431438</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-07-01 14:18:23 -0700</bug_when>
    <thetext>I&apos;m not sure if this is just the stock cygwin we use in chromium or if this also doesn&apos;t work on the version of cygwin used on the apple win bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432241</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-05 06:12:30 -0700</bug_when>
    <thetext>Doesn&apos;t work in what way? I don&apos;t see any obvious problems in &lt;http://build.webkit.org/builders/Windows%207%20Release%20%28Tests%29/builds/14458/steps/webkitpy-test/logs/stdio&gt;, which is running test-webkitpy under Cygwin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432367</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-07-05 12:39:44 -0700</bug_when>
    <thetext>Hm ... thought I added a comment to this explaining myself, but it&apos;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 &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/test-webkitpy&quot;,
 line 266, in &lt;module&gt;
    Tester().run_tests(sys.argv, external_package_paths)
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/test/m
ain.py&quot;, line 160, in run_tests
    __import__(module)
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/to_be_
moved/deduplicate_tests_unittest.py&quot;, line 27, in &lt;module&gt;
    import deduplicate_tests
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/to_be_
moved/deduplicate_tests.py&quot;, line 176, in &lt;module&gt;
    checkout_root=scm.find_checkout_root()):
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py&quot;, line 45, in find_checkout_root
    scm_system = default_scm()
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py&quot;, line 61, in default_scm
    scm_system = detect_scm_system(cwd, patch_directories)
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/detection.py&quot;, line 81, in detect_scm_system
    if Git.in_working_directory(absolute_path):
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/checkout/scm/git.py&quot;, line 91, in in_working_directory
    return run_command([&apos;git&apos;, &apos;rev-parse&apos;, &apos;--is-inside-work-tree&apos;], cwd=path,
error_handler=Executive.ignore_error).rstrip() == &quot;true&quot;
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py&quot;, line 102, in run_command
    return Executive().run_command(*args, **kwargs)
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py&quot;, line 421, in run_command
    close_fds=self._should_close_fds())
  File &quot;/cygdrive/d/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common
/system/executive.py&quot;, line 477, in popen
    return subprocess.Popen(*args, **kwargs)
  File &quot;/usr/lib/python2.6/subprocess.py&quot;, line 633, in __init__
    errread, errwrite)
  File &quot;/usr/lib/python2.6/subprocess.py&quot;, line 1049, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
src $</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432368</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-07-05 12:44:00 -0700</bug_when>
    <thetext>You probably need to follow these instructions: http://trac.webkit.org/wiki/BuildingOnWindows#ErrorlaunchingApachefromrun-webkit-testsonVista7orothererrorsthatmentionthewordremap</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432382</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-07-05 13:26:41 -0700</bug_when>
    <thetext>Wow, that worked! 2+ years of useless rebasealls have come to and end. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>