<?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>65148</bug_id>
          
          <creation_ts>2011-07-25 16:08:01 -0700</creation_ts>
          <short_desc>Add some debug logging to NRWT to diagnose why the windows bots can&apos;t determine their SVN revision</short_desc>
          <delta_ts>2011-07-25 17:53:11 -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>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>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>441952</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 16:08:01 -0700</bug_when>
    <thetext>Add some debug logging to NRWT to diagnose why the windows bots can&apos;t determine their SVN revision</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441953</commentid>
    <comment_count>1</comment_count>
      <attachid>101936</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 16:08:19 -0700</bug_when>
    <thetext>Created attachment 101936
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441965</commentid>
    <comment_count>2</comment_count>
      <attachid>101936</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 16:14:50 -0700</bug_when>
    <thetext>Comment on attachment 101936
Patch

Clearing flags on attachment: 101936

Committed r91719: &lt;http://trac.webkit.org/changeset/91719&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441966</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 16:14:53 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441995</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-07-25 17:03:45 -0700</bug_when>
    <thetext>We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442008</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 17:13:59 -0700</bug_when>
    <thetext>&gt; We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code?

Why does JSONResultsGenerator have it&apos;s own secret version of _get_svn_revision ?  :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442009</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 17:19:04 -0700</bug_when>
    <thetext>Here&apos;s the log:
http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Vista/builds/5169/steps/webkit_tests/logs/stdio

2011-07-25 17:18:12,144 464 manager.py:221 DEBUG Failed to learn head_svn_revision:
2011-07-25 17:18:12,144 464 manager.py:222 DEBUG [Error 2] The system cannot find the file specified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442019</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 17:30:36 -0700</bug_when>
    <thetext>Attempt to fix in https://bugs.webkit.org/show_bug.cgi?id=65156</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442026</commentid>
    <comment_count>8</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-07-25 17:36:26 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code?
&gt; 
&gt; Why does JSONResultsGenerator have it&apos;s own secret version of _get_svn_revision ?  :(

I&apos;ve mentioned this code a billion times to Eric everytime he&apos;s tried fixing this bug.  This code was written before scm.py existed. An attempt to use scm.py&apos;s was made, but didn&apos;t work on windows so it was rolled back. :) Noone had time to look into why. See the FIXME above the code explaining all this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442033</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-07-25 17:53:11 -0700</bug_when>
    <thetext>Well, hopefully the fix in Bug 65156 will fix windows and then we can delete this second implementation.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>101936</attachid>
            <date>2011-07-25 16:08:19 -0700</date>
            <delta_ts>2011-07-25 16:14:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-65148-20110725160818.patch</filename>
            <type>text/plain</type>
            <size>1700</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTE3MTAKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCBhZjQ3YmQ0MTQ3Yzc2ZTU4Yzg1ZGEzZTMzMDBiY2QzMzMw
MzI5YTEzLi5kMzhjYTRjM2VlNDlkNTU4ODI1NTRmYzlhMDBhYzE1NjZmNmJlZDVkIDEwMDY0NAot
LS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTQg
QEAKIDIwMTEtMDctMjUgIEFkYW0gQmFyd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