<?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>137795</bug_id>
          
          <creation_ts>2014-10-16 15:51:49 -0700</creation_ts>
          <short_desc>commit-queue: fails to replace OO-PS! with reviewer name</short_desc>
          <delta_ts>2014-10-16 16:57:08 -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="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>glenn</cc>
    
    <cc>oliver</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1042226</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 15:51:49 -0700</bug_when>
    <thetext>After the Bugzilla 4.2.11 update, the commit-queue sometimes fails to replace the OO-PS! text with the reviewer name.

For example:  &lt;https://webkit-queues.appspot.com/patch/239923&gt;

&lt;https://webkit-queues.appspot.com/results/5777270190899200&gt;

Failed to run &quot;[&apos;/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=webkit-queues.appspot.com&apos;, &apos;--bot-id=webkit-cq-03&apos;, &apos;validate-changelog&apos;, &apos;--check-oops&apos;, &apos;--non-interactive&apos;, 239923, &apos;--port=mac&apos;]&quot; exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042234</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 16:16:01 -0700</bug_when>
    <thetext>Oliver thinks this may be the same issue:

$ ./Tools/Scripts/webkit-patch land 137766
Fetching: https://bugs.webkit.org/show_bug.cgi?id=137766&amp;ctype=xml&amp;excludefield=attachmentdata
Warning, attachment 239923 on bug 137766 has invalid reviewer (akling)
No reviewed patches on bug 137766, cannot infer reviewer.
Failed to guess reviewer from bug 137766 and --reviewer= not provided.  Not updating ChangeLogs with reviewer.
Found no modified ChangeLogs, cannot create a commit message.
All changes require a ChangeLog.  See:
 http://webkit.org/coding/contributing.html
Found no modified ChangeLogs, cannot create a commit message.
All changes require a ChangeLog.  See:
 http://webkit.org/coding/contributing.html

Looks like webkit-patch isn&apos;t able to fetch the reviewer list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042237</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 16:38:41 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Looks like webkit-patch isn&apos;t able to fetch the reviewer list?

Bugzilla changed to not expose email addresses when no one is logged in, so webkit-patch is loading this URL without logging in first:

https://bugs.webkit.org/show_bug.cgi?id=137766&amp;ctype=xml&amp;excludefield=attachmentdata

And getting &lt;flag&gt; elements like this:

&lt;flag name=&quot;review&quot; id=&quot;264671&quot; type_id=&quot;1&quot; status=&quot;+&quot; setter=&quot;akling&quot;/&gt;
&lt;flag name=&quot;commit-queue&quot; id=&quot;264709&quot; type_id=&quot;3&quot; status=&quot;+&quot; setter=&quot;cdumez&quot;/&gt;

Instead of like this (after logging in):

&lt;flag name=&quot;review&quot; id=&quot;264671&quot; type_id=&quot;1&quot; status=&quot;+&quot; setter=&quot;akling@apple.com&quot;/&gt;
&lt;flag name=&quot;commit-queue&quot; id=&quot;264709&quot; type_id=&quot;3&quot; status=&quot;+&quot; setter=&quot;cdumez@apple.com&quot;/&gt;

The fix is to make sure webkit-patch logs in before fetching attachment data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042240</commentid>
    <comment_count>3</comment_count>
      <attachid>239983</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 16:50:52 -0700</bug_when>
    <thetext>Created attachment 239983
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042243</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 16:56:34 -0700</bug_when>
    <thetext>Committed r174800: &lt;http://trac.webkit.org/changeset/174800&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042244</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-10-16 16:57:08 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Committed r174800: &lt;http://trac.webkit.org/changeset/174800&gt;

NOTE: I haven&apos;t been able to verify if this is the only fix needed, but this is needed before we determine what the next issue is.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>239983</attachid>
            <date>2014-10-16 16:50:52 -0700</date>
            <delta_ts>2014-10-16 16:52:30 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-137795-20141016164945.patch</filename>
            <type>text/plain</type>
            <size>1733</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTc0Nzk4CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNzhmZmJkNTUyM2EyNjYzMjRjYTBjNjA3ZGI5Yjg3NTNi
YjNmNzUxOS4uZWI1ZDRhZGViMGM1MmRkN2Q5YTliYjc0MjljNmM2M2VjNDU1NGRlZSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE4
IEBACiAyMDE0LTEwLTE2ICBEYXZpZCBLaWx6ZXIgIDxkZGtpbHplckBhcHBsZS5jb20+CiAKKyAg
ICAgICAgY29tbWl0LXF1ZXVlOiBmYWlscyB0byByZXBsYWNlIE9PLVBTISB3aXRoIHJldmlld2Vy
IG5hbWUKKyAgICAgICAgPGh0dHA6Ly93ZWJraXQub3JnL2IvMTM3Nzk1PgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRweS9j
b21tb24vbmV0L2J1Z3ppbGxhL2J1Z3ppbGxhLnB5OgorICAgICAgICAoQnVnemlsbGEuZmV0Y2hf
YnVnX2RpY3Rpb25hcnkpOiBCdWd6aWxsYSA0LjIueCBuZXZlciBnaXZlcyBvdXQKKyAgICAgICAg
ZW1haWwgYWRkcmVzc2VzIHRvIHVuYXV0aGVudGljYXRlZCBwYWdlIGxvYWRzLCBzbyB3ZSBtdXN0
IGFsd2F5cworICAgICAgICBhdXRoZW50aWNhdGUgYmVmb3JlIGdldHRpbmcgYnVnIGRhdGEgc28g
d2UgZ2V0IGZ1bGwgZW1haWwKKyAgICAgICAgYWRkcmVzc2VzLgorCisyMDE0LTEwLTE2ICBEYXZp
ZCBLaWx6ZXIgIDxkZG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aWNhdGUoKQotICAgICAgICAgICAgcmV0dXJuIHNlbGYuX3BhcnNl
X2J1Z19kaWN0aW9uYXJ5X2Zyb21feG1sKHNlbGYuX2ZldGNoX2J1Z19wYWdlKGJ1Z19pZCkpCiAK
ICAgICAjIEZJWE1FOiBBIEJ1Z3ppbGxhQ2FjaGUgb2JqZWN0IHNob3VsZCBwcm92aWRlIGFsbCB0
aGVzZSBmZXRjaF8gbWV0aG9kcy4KIAo=
</data>
<flag name="review"
          id="264733"
          type_id="1"
          status="+"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>