<?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>140576</bug_id>
          
          <creation_ts>2015-01-16 16:48:44 -0800</creation_ts>
          <short_desc>[Win] Move EWS Processing off of Cygwin</short_desc>
          <delta_ts>2024-03-05 12:56:39 -0800</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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>fujii</cc>
    
    <cc>roger_fong</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1062041</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-01-16 16:48:44 -0800</bug_when>
    <thetext>Based on my observations over the past few weeks, it appears that the most frequent cause of Windows EWS failures are due to Cygwin rebasing issues.

These errors look like the following:

Failed to run &quot;[&apos;/home/buildbot/WebKit/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=webkit-queues.appspot.com&apos;, &apos;--bot-id=ews204&apos;, &apos;clean&apos;, &apos;--port=win&apos;]&quot; exit_code: 1 cwd: /home/buildbot/WebKit

      0 [main] python2.7 716 child_info_fork::abort: address space needed by &apos;cygffi-6.dll&apos; (0x3F0000) is already occupied
Traceback (most recent call last):
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkit-patch&quot;, line 84, in &lt;module&gt;
    main()
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkit-patch&quot;, line 79, in main
    WebKitPatch(os.path.abspath(__file__)).main()
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 296, in main
    self.handle_global_options(options)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/main.py&quot;, line 94, in handle_global_options
    self.initialize_scm(options.patch_directories)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/host.py&quot;, line 81, in initialize_scm
    self._checkout = Checkout(detector.default_scm(patch_directories))
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py&quot;, line 55, in default_scm
    scm_system = self.detect_scm_system(cwd, patch_directories)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py&quot;, line 72, in detect_scm_system
    return SVN(cwd=absolute_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/svn.py&quot;, line 81, in __init__
    SCM.__init__(self, cwd, **kwargs)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py&quot;, line 67, in __init__
    self.checkout_root = self.find_checkout_root(self.cwd)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/svn.py&quot;, line 125, in find_checkout_root
    if uuid != self.find_uuid(path):
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/svn.py&quot;, line 103, in find_uuid
    if not self.in_working_directory(path):
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/svn.py&quot;, line 99, in in_working_directory
    exit_code = executive.run_command(svn_info_args, cwd=path, return_exit_code=True)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/system/executive.py&quot;, line 435, in run_command
    close_fds=self._should_close_fds())
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/system/executive.py&quot;, line 506, in popen
    return subprocess.Popen(string_args, **kwargs)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 710, in __init__
    errread, errwrite)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 1223, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable

It seems like moving away from running Windows EWS on top of Cygwin would provide a significant boost in reliability.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1062042</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-01-16 16:49:28 -0800</bug_when>
    <thetext>It might also be possible to somehow work the Cygwin &apos;rebaseall&apos; script into our cycle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1064324</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-01-26 18:08:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/19609012&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018861</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-03-05 12:56:39 -0800</bug_when>
    <thetext>AppleWin was removed. WinCairo EWS isn&apos;t using Cygwin.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>