<?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>89299</bug_id>
          
          <creation_ts>2012-06-16 22:25:10 -0700</creation_ts>
          <short_desc>Fix RebaselineTest python to work with webkit.org builders</short_desc>
          <delta_ts>2012-09-07 10:13:29 -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>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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>650950</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-06-16 22:25:10 -0700</bug_when>
    <thetext>In rebaseline.py:

    help_text = &quot;Rebaseline a single test from a buildbot.  (Currently works only with build.chromium.org buildbots.)&quot;

I presume this breaks rebaselining in garden-o-matic for non-chromium ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650951</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-16 22:42:40 -0700</bug_when>
    <thetext>Yeah.  I think this should be relatively easy to fix.

The way this works is that the front-end calls rebaselineall in gardeningserver.py via HTTP.  That process the HTTP request and calls &quot;webkit-patch rebaseline-test&quot;.  If you get rebaseline-test working with the Apple ports, the rest of the machinery should fall into place.

rebaseline-test is in rebaseline.py.  My guess is that this command uses the accumulated results directory too, so you&apos;ll need to teach it how to find the most recent results directory, similar to what you did in the front-end:

    def _results_url(self, builder_name):
        # FIXME: Generalize this command to work with non-build.chromium.org builders.
        builder = self._tool.chromium_buildbot().builder_with_name(builder_name)
        return builder.accumulated_results_url()

Rather than getting the chromium_buildbot off the tool, you probably want something like the following:

self._tool.buildbot.builder_with_name(builder_name).latest_cached_build().results_url()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650952</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-16 22:51:53 -0700</bug_when>
    <thetext>Playing with the code you landed, it looks like we&apos;ll need to work in the &quot;results&quot; view a bit.  That view uses the accumulated results directory too, so we&apos;ll need to teach it to find the a results directory as well.  (Note: That&apos;s probably something for a separate bug since it&apos;s an issue with the front end.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650994</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-06-17 09:29:16 -0700</bug_when>
    <thetext>Results panel: bug 89310
GOM parameter: bug 89309</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714647</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-09-07 10:06:25 -0700</bug_when>
    <thetext>Didn&apos;t someone fix this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714666</commentid>
    <comment_count>5</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-09-07 10:13:29 -0700</bug_when>
    <thetext>I did. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>