<?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>142082</bug_id>
          
          <creation_ts>2015-02-27 03:06:21 -0800</creation_ts>
          <short_desc>Fix the SVN issue on the WinCairo buildbot</short_desc>
          <delta_ts>2015-02-27 15:19:51 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1072681</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-02-27 03:06:21 -0800</bug_when>
    <thetext>The WinCairo bot started to fail again with the following error:
svn: E120106: ra_serf: The server sent a truncated HTTP response body.

First failing build:
https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/44298

It stucked in an infinte loop again:
- try to checkout the WebKit repository
- fail with this error
- rm -rf &lt;repository&gt;

I noticed this error when this bot was resurrected, and it happened again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072705</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-27 09:08:18 -0800</bug_when>
    <thetext>Alex -- it looks like someone updated subversion to 1.8. I&apos;ve found that this version fails (with this error); we have to stay with subversion 1.7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072789</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-02-27 13:08:47 -0800</bug_when>
    <thetext>I fixed it manually and left it with svn 1.8.  I could change the svn version if it becomes a common problem.  If it did svn cleanup instead of rm -rf, it would have fixed the problem itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072849</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-02-27 14:56:50 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I fixed it manually and left it with svn 1.8.  I could change the svn
&gt; version if it becomes a common problem.  If it did svn cleanup instead of rm
&gt; -rf, it would have fixed the problem itself.

rm -rf on SVN error is buildbot internal, unfortunately you can&apos;t change it
easily. But we used a workaround for it on Linux long time ago because of
internet connection issues. It should work on Windows too. The trick is an 
SVN wrapper script, which tries to run the original command first. If it 
fails, it calls svn cleanup and then retry the original command.

#!/bin/bash
SVN_BIN=/usr/bin/svn
if [ &quot;x$1&quot; != &quot;xlog&quot; -a &quot;x$1&quot; != &quot;xinfo&quot; ] ; then
    ($SVN_BIN $*) || ($SVN_BIN cleanup &amp;&gt;/dev/null &amp;&amp; $SVN_BIN $*)
else
    $SVN_BIN $*
fi

Of course it isn&apos;t an ultimate solution, because what if the command
fails more than once. But it was unlikely, one cleanup was enough for
us in 99% of the cases.

One important thing: the original output must be the same, because
the buildbot parses it and doesn&apos;t like extra output generated by
cleanup or echoing some debug information. I can&apos;t remember exactly
why, but svn info and log didn&apos;t like this cleanup at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072854</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-02-27 15:01:58 -0800</bug_when>
    <thetext>I&apos;ll just keep my eye on it.  If it becomes a problem, I&apos;ll install the old version of svn.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072867</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-02-27 15:19:51 -0800</bug_when>
    <thetext>I know it isn&apos;t related to svn ... but now JSC tests started to fail 
again after 20 mins timeout without doing anything and binding tests
with the strange differences. Something is weird happening there.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>