<?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>98013</bug_id>
          
          <creation_ts>2012-10-01 04:18:27 -0700</creation_ts>
          <short_desc>Fix SVN mirror handling for the first build</short_desc>
          <delta_ts>2014-02-06 08:04:54 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>85887</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>731565</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-10-01 04:18:27 -0700</bug_when>
    <thetext>The &quot;wating for SVN server&quot; buildstep runs before the SVN buildstep.
( It is correct, because Tools/BuildSlaveSupport/wait-for-SVN-server.py
is to wait until the SVN mirror is in sync with svn.webkit.org. )

But unfortunately we can&apos;t run Tools/BuildSlaveSupport/wait-for-SVN-server.py
after a broken svn buildtep or for the first build of a new master, because
Tools/BuildSlaveSupport/wait-for-SVN-server.py doesn&apos;t exist at all.

We can solve this problem with downloading wait-for-SVN-server.py before running it:
curl https://trac.webkit.org/browser/trunk/Tools/BuildSlaveSupport/wait-for-SVN-server.py?format=txt -o Tools/BuildSlaveSupport/wait-for-SVN-server.py --create-dirs

It isn&apos;t the best fix ... Downloading this script always is absolutely unnecessary.
But checking the existance of this file from master.cfg isn&apos;t trivial.
process.buildstep.BuildStep.FileExists does a similar thing, but it isn&apos;t good for us:
http://buildbot.net/buildbot/docs/0.8.5/reference/buildbot.steps.slave.FileExists-class.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>977342</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-02-06 08:04:54 -0800</bug_when>
    <thetext>Fixed by https://trac.webkit.org/changeset/163372
and https://trac.webkit.org/changeset/163441</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>