<?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>213382</bug_id>
          
          <creation_ts>2020-06-19 09:21:18 -0700</creation_ts>
          <short_desc>[ews] commit-queue should comment on bug if it fails to get contributors information</short_desc>
          <delta_ts>2020-06-29 09:06:45 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=213377</see_also>
          <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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>jbedard</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1664386</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-06-19 09:21:18 -0700</bug_when>
    <thetext>commit-queue should comment on bug and set cq- flag if it fails to get contributors information (and fails to commit because of that). This is so that people can easily notice that commit-queue failed, and take necessary action. 

However, the chances of commit-queue hitting this issue (of failing to get contributors information) is almost zero after the improvement in Bug 213377.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1664390</commentid>
    <comment_count>1</comment_count>
      <attachid>402291</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-06-19 09:24:04 -0700</bug_when>
    <thetext>Created attachment 402291
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1664397</commentid>
    <comment_count>2</comment_count>
      <attachid>402291</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-06-19 09:42:52 -0700</bug_when>
    <thetext>Comment on attachment 402291
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=402291&amp;action=review

&gt; Tools/BuildSlaveSupport/ews-build/steps.py:758
&gt; +            self.setProperty(&apos;bugzilla_comment_text&apos;, &apos;commit-queue failed to get contributors information, please cq+ patch again.&apos;)

It is very useful to have specific guidance about what the person needs to do. This one doesn&apos;t sound right to me - if the action were to simply mark as cq+ again, we wouldn&apos;t need to mark as cq-. Also, this information is noise to everyone except for the person who has set cq+ originally.

So I think that two things need to change:

1. Make the guidance accurate (the whole reason to do this is to have people reach out to admins, so we should advise on how to do this).

2. Make it private (e-mail, and don&apos;t change cq+ to cq-).

Looking at these together, I&apos;m beginning to think that the right action is to notify admins directly, not to ask contributors to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1664405</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-06-19 10:05:33 -0700</bug_when>
    <thetext>(In reply to Aakash Jain from comment #0)
&gt; commit-queue should comment on bug and set cq- flag if it fails to get
&gt; contributors information (and fails to commit because of that). This is so
&gt; that people can easily notice that commit-queue failed, and take necessary
&gt; action. 
&gt; 
&gt; However, the chances of commit-queue hitting this issue (of failing to get
&gt; contributors information) is almost zero after the improvement in Bug 213377.

I feel like if we manage to hit this issue with the fix from bug 213377, infrastructure is so far broken that there is nothing anyone except for an admin could do to help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1667120</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-06-29 09:06:45 -0700</bug_when>
    <thetext>As noted above, the chances of hitting is extremely low (since local file reading should pretty much work). And if we hit this scenario, infrastructure is too much broken already. It&apos;s probably not worth to spend more time in trying to improve automatic handling of this rare scenario.

Developing mechanism for notifying admins would be done in Bug 207475.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>402291</attachid>
            <date>2020-06-19 09:24:04 -0700</date>
            <delta_ts>2020-06-19 09:42:52 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-213382-20200619122402.patch</filename>
            <type>text/plain</type>
            <size>3005</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI2MzI3MCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDIwLTA2LTE5ICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBbZXdzXSBjb21taXQtcXVldWUgc2hvdWxkIGNvbW1lbnQgb24gYnVnIGlm
IGl0IGZhaWxzIHRvIGdldCBjb250cmlidXRvcnMgaW5mb3JtYXRpb24KKyAgICAgICAgaHR0cHM6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIxMzM4MgorCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogQnVpbGRTbGF2ZVN1cHBvcnQvZXdz
LWJ1aWxkL3N0ZXBzLnB5OgorICAgICAgICAoVmFsaWRhdGVDb21taXRlckFuZFJldmlld2VyLnN0
YXJ0KToKKyAgICAgICAgKiBCdWlsZFNsYXZlU3VwcG9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GVyQW5k
UmV2aWV3ZXIoKS5sb2FkX2NvbnRyaWJ1dG9yc19mcm9tX2Rpc2soKQo=
</data>
<flag name="review"
          id="417718"
          type_id="1"
          status="-"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>