<?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>181907</bug_id>
          
          <creation_ts>2018-01-20 08:49:11 -0800</creation_ts>
          <short_desc>Feeder queue has significant delays between iterations</short_desc>
          <delta_ts>2020-03-21 04:13:15 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1391403</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-01-20 08:49:11 -0800</bug_when>
    <thetext>Feeder queue logs indicate that sometimes it is having ~2hours delays between subsequent iterations. This cause bugs which are cq+ or recently submitted patches not to be submitted to EWS.

https://bugs.webkit.org/show_bug.cgi?id=181896 wasn&apos;t picked up by commit-queue because of this.


Sample Logs:


2018-01-19 18:15:50,631 - Feeding commit-queue high priority items [], regular items [331754, 331787]
2018-01-19 18:15:50,631 - Recording work items: [331754, 331787] for commit-queue
2018-01-19 18:15:51,663 - Feeding EWS (32 r? patches, 0 new) 
2018-01-19 20:16:17,680 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-19 20:16:18,061 - Feeding commit-queue high priority items [], regular items []
2018-01-19 20:16:18,061 - Recording work items: [] for commit-queue
2018-01-19 20:16:19,005 - Feeding EWS (32 r? patches, 1 new) 
2018-01-19 20:16:19,005 - Submitting attachment 331829 to EWS queues
2018-01-19 22:17:11,198 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-19 22:17:11,574 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=181804&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-19 22:17:11,928 - Feeding commit-queue high priority items [], regular items [331827]
2018-01-19 22:17:11,928 - Recording work items: [331827] for commit-queue
2018-01-19 22:17:13,004 - Feeding EWS (32 r? patches, 0 new) 
2018-01-20 00:17:46,461 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
...
2018-01-20 00:18:25,790 - Recording work items: [331753] for commit-queue
2018-01-20 00:18:26,755 - Feeding EWS (33 r? patches, 0 new)
2018-01-20 02:20:26,859 - CAUTION: feeder-queue will discard all local changes in &quot;/Volumes/Data/Feeder/WebKit&quot;
2018-01-20 02:20:26,859 - Running WebKit feeder-queue.
2018-01-20 02:20:26,859 - Starting Queue
...
2018-01-20 02:30:13,771 - Recording work items: [331798, 331837] for commit-queue
2018-01-20 02:30:14,723 - Feeding EWS (32 r? patches, 0 new)
2018-01-20 04:30:47,981 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-20 04:30:48,370 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=181182&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-20 04:30:48,739 - Feeding commit-queue high priority items [], regular items [331440]
...
2018-01-20 04:31:25,649 - Feeding commit-queue high priority items [], regular items [331440]
2018-01-20 04:31:25,649 - Recording work items: [331440] for commit-queue
2018-01-20 04:31:28,417 - Feeding EWS (34 r? patches, 0 new)
2018-01-20 06:31:54,747 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
2018-01-20 06:31:55,119 - Feeding commit-queue high priority items [], regular items []</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391404</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-01-20 08:49:45 -0800</bug_when>
    <thetext>It also has this network related exception yesterday:

2018-01-19 17:56:04,580 - Recording work items: [331754] for commit-queue
Traceback (most recent call last):
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/tool/bot/queueengine.py&quot;, line 103, in run
    if not self._delegate.process_work_item(work_item):
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/tool/commands/queues.py&quot;, line 197, in process_work_item
    feeder.feed()
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/tool/bot/feeders.py&quot;, line 62, in feed
    self._tool.status_server.update_work_items(self.queue_name, high_priority_item_ids, item_ids)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/common/net/statusserver.py&quot;, line 156, in update_work_items
    return NetworkTransaction().run(lambda: self._post_work_items_to_server(queue_name, high_priority_work_items, work_items))
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/common/net/networktransaction.py&quot;, line 53, in run
    return request()
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/common/net/statusserver.py&quot;, line 156, in &lt;lambda&gt;
    return NetworkTransaction().run(lambda: self._post_work_items_to_server(queue_name, high_priority_work_items, work_items))
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/common/net/statusserver.py&quot;, line 112, in _post_work_items_to_server
    return self._browser.submit().read()
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_mechanize.py&quot;, line 541, in submit
    return self.open(self.click(*args, **kwds))
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_mechanize.py&quot;, line 203, in open
    return self._mech_open(url, data, timeout=timeout)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_mechanize.py&quot;, line 230, in _mech_open
    response = UserAgentBase.open(self, request, data)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_opener.py&quot;, line 193, in open
    response = urlopen(self, req, data)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py&quot;, line 344, in _open
    &apos;_open&apos;, req)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py&quot;, line 332, in _call_chain
    result = func(*args)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py&quot;, line 1142, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File &quot;/Volumes/Data/Feeder/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py&quot;, line 1118, in do_open
    raise URLError(err)
URLError: &lt;urlopen error [Errno 60] Operation timed out&gt;
2018-01-19 17:57:20,013 - Exception while preparing queue Sleeping until 2018-01-19 17:59:20 (120 seconds).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391408</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-01-20 08:56:02 -0800</bug_when>
    <thetext>&gt; 2018-01-19 22:17:13,004 - Feeding EWS (32 r? patches, 0 new) 
&gt; 2018-01-20 00:17:46,461 - Fetching: https://bugs.webkit.org/show_bug.cgi?id=180843&amp;ctype=xml&amp;excludefield=attachmentdata
Notice the 2 hours delay between above two log lines.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391417</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-01-20 12:43:20 -0800</bug_when>
    <thetext>I updated some settings (notably energy saver). Please check if that helped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1632458</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-03-21 04:13:15 -0700</bug_when>
    <thetext>EWS has been re-implemented from scratch. New EWS does not use feeder-queue. Django ews-app pulls directly from bugzilla.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>