<?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>207918</bug_id>
          
          <creation_ts>2020-02-18 15:26:01 -0800</creation_ts>
          <short_desc>EWS should be able to search existing bugs for given test</short_desc>
          <delta_ts>2020-02-19 08:42:59 -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>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=207845</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>
          
          <blocked>207935</blocked>
          <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>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1620377</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-02-18 15:26:01 -0800</bug_when>
    <thetext>EWS should be able to search existing bugs for given test. This is required so that EWS can decide whether or not to file new bug for flaky test (for commit-queue).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620380</commentid>
    <comment_count>1</comment_count>
      <attachid>391106</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-02-18 15:27:14 -0800</bug_when>
    <thetext>Created attachment 391106
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620386</commentid>
    <comment_count>2</comment_count>
      <attachid>391106</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-02-18 15:30:04 -0800</bug_when>
    <thetext>Comment on attachment 391106
Patch

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

&gt; Tools/BuildSlaveSupport/ews-build/steps.py:498
&gt; +    def fetch_bug_id_for_flaky_test(self, flaky_test_name):

Inspired from _lookup_bug_for_flaky_test  https://trac.webkit.org/browser/webkit/trunk/Tools/Scripts/webkitpy/tool/bot/flakytestreporter.py#L70</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620419</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-18 16:18:16 -0800</bug_when>
    <thetext>Before landing this, I think we should have a discussion about if this actually the right way to achieve our goals.

We had an offline discussion about this today, I wonder if we should start with an umbrella bug with the problem statement and more formally determine which solution we want before implementing a solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620646</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-02-19 07:45:04 -0800</bug_when>
    <thetext>This is required to migrate the existing functionality of commit-queue from old ews to new ews (irrespective of whether we decide for other EWS queue to automatically file bugs for flaky tests or not).

I believe there isn&apos;t a disagreement about commit-queue filing bugs for flaky tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620671</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-19 08:42:59 -0800</bug_when>
    <thetext>(In reply to Aakash Jain from comment #4)
&gt; This is required to migrate the existing functionality of commit-queue from
&gt; old ews to new ews (irrespective of whether we decide for other EWS queue to
&gt; automatically file bugs for flaky tests or not).
&gt; 
&gt; I believe there isn&apos;t a disagreement about commit-queue filing bugs for
&gt; flaky tests.

Didn&apos;t realize we have commit queue doing this now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>391106</attachid>
            <date>2020-02-18 15:27:14 -0800</date>
            <delta_ts>2020-02-19 08:42:39 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-207918-20200218182713.patch</filename>
            <type>text/plain</type>
            <size>2094</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI1Njg2MykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDIwLTAyLTE4ICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBFV1Mgc2hvdWxkIGJlIGFibGUgdG8gc2VhcmNoIGV4aXN0aW5nIGJ1Z3Mg
Zm9yIGdpdmVuIHRlc3QKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcu
Y2dpP2lkPTIwNzkxOAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgICogQnVpbGRTbGF2ZVN1cHBvcnQvZXdzLWJ1aWxkL3N0ZXBzLnB5OgorICAgICAgICAo
QnVnemlsbGFNaXhpbi5mZXRjaF9idWdfaWRfZm9yX2ZsYWt5X3Rlc3QpOgorCiAyMDIwLTAyLTE4
ICBXZW5zb24gSHNpZWggIDx3ZW5zb25faHNpZWhAYXBwbGUuY29tPgogCiAgICAgICAgIFttYWNP
U10gV2ViIHByb2Nlc3MgbWF5IGNyYXN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25zZToKKyAgICAgICAg
ICAgIHJldHVybiBOb25lCisKKyAgICAgICAgYnVnc19qc29uID0gcmVzcG9uc2UuanNvbigpLmdl
dCgnYnVncycpCisgICAgICAgIGlmIG5vdCBidWdzX2pzb24gb3IgbGVuKGJ1Z3NfanNvbikgPT0g
MDoKKyAgICAgICAgICAgIHJldHVybiBOb25lCisKKyAgICAgICAgIyBGaWx0ZXIgYnVncyBmaWxl
ZCBieSBFV1MKKyAgICAgICAgcmVsZXZhbnRfYnVncyA9IFtdCisgICAgICAgIGZvciBidWcgaW4g
YnVnc19qc29uOgorICAgICAgICAgICAgaWYgYnVnLmdldCgnY3JlYXRvcicpIGluIF9ib3RfZW1h
aWxzOgorICAgICAgICAgICAgICAgIHJlbGV2YW50X2J1Z3MuYXBwZW5kKGJ1Zy5nZXQoJ2lkJykp
CisKKyAgICAgICAgaWYgbm90IHJlbGV2YW50X2J1Z3M6CisgICAgICAgICAgICByZXR1cm4gTm9u
ZQorCisgICAgICAgICMgRklYTUU6IFRoZXJlIGFyZSBwcm9iYWJseSBoZXVyaXN0aWNzIHdlIGNv
dWxkIHVzZSBmb3IgZmluZGluZworICAgICAgICAjIHRoZSByaWdodCBidWcgaW5zdGVhZCBvZiB0
aGUgZmlyc3QsIGxpa2Ugb3BlbiB2cy4gY2xvc2VkLgorICAgICAgICByZXR1cm4gcmVsZXZhbnRf
YnVnc1swXQorCiAKIGNsYXNzIFZhbGlkYXRlUGF0Y2goYnVpbGRzdGVwLkJ1aWxkU3RlcCwgQnVn
emlsbGFNaXhpbik6CiAgICAgbmFtZSA9ICd2YWxpZGF0ZS1wYXRjaCcK
</data>
<flag name="review"
          id="406674"
          type_id="1"
          status="+"
          setter="jbedard"
    />
          </attachment>
      

    </bug>

</bugzilla>