<?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>75024</bug_id>
          
          <creation_ts>2011-12-21 11:54:38 -0800</creation_ts>
          <short_desc>EWS bubble-status error on attachment 120136</short_desc>
          <delta_ts>2013-01-30 21:19:42 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>107184</dup_id>
          
          <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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Alan Cutter">alancutter</assigned_to>
          <cc>abarth</cc>
    
    <cc>alancutter</cc>
    
    <cc>ojan</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>525417</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 11:54:38 -0800</bug_when>
    <thetext>EWS bubble-status error on attachment 120136

Not sure what&apos;s going on yet.

Traceback (most recent call last):
  File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py&quot;, line 701, in __call__
    handler.get(*groups)
  File &quot;/base/data/home/apps/webkit-commit-queue/1.353964625221040786/handlers/statusbubble.py&quot;, line 78, in get
    bubbles, show_submit_to_ews = self._build_bubbles_for_attachment(attachment)
  File &quot;/base/data/home/apps/webkit-commit-queue/1.353964625221040786/handlers/statusbubble.py&quot;, line 62, in _build_bubbles_for_attachment
    if not self._have_status_for(attachment, queue):
  File &quot;/base/data/home/apps/webkit-commit-queue/1.353964625221040786/handlers/statusbubble.py&quot;, line 56, in _have_status_for
    return bool(queue.is_ews() and attachment.status_for_queue(queue))
  File &quot;/base/data/home/apps/webkit-commit-queue/1.353964625221040786/model/attachment.py&quot;, line 95, in status_for_queue
    queue_summary = self.summary().get(queue.name_with_underscores())
  File &quot;/base/data/home/apps/webkit-commit-queue/1.353964625221040786/model/attachment.py&quot;, line 73, in summary
    memcache.set(str(self.id), self._summary, namespace=&quot;attachment-summary&quot;)
  File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 767, in set
    namespace=namespace)
  File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 872, in _set_with_policy
    time, &apos;&apos;, namespace)
  File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 951, in _set_multi_async_with_policy
    stored_value, flags = _validate_encode_value(value, self._do_pickle)
  File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 236, in _validate_encode_value
    &apos;received %d bytes&apos; % (MAX_VALUE_SIZE, len(stored_value)))
ValueError: Values may not be more than 1000000 bytes in length; received 1052506 bytes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525432</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-12-21 12:03:50 -0800</bug_when>
    <thetext>its one of the zombie queues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525436</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 12:07:01 -0800</bug_when>
    <thetext>Maybe it finally has so many attachemnts queud that it&apos;s killing the system?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525504</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-12-21 13:11:55 -0800</bug_when>
    <thetext>Yes.  I cleaned it out manually before.  We just need to nuke the cr-mac-ews.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590302</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-03-28 12:50:00 -0700</bug_when>
    <thetext>I understand the error now.  It occurs more frequently as of late now that we&apos;ve added more queues to the system.

The problem is that the Attachment class wrongly caches the full status message text for each queue for their most recent status message in its &quot;summary&quot; object.  The summary* methods have big FIXMEs next to them about how they&apos;re bad design, but now that design is coming back to haunt us.

The error is temporary and goes away once queues start to report back with their final &quot;PASS&quot; or &quot;FAIL&quot; message.  We&apos;ve always had this bug, it just has started happening way more often now that we have more queues, and thus the &quot;Processing ... attachment&quot; or &quot;Validating Changelog... &quot; or whatever long-ish in-progress messages add up to exceed the memcache limit very quickly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590331</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-03-28 13:15:11 -0700</bug_when>
    <thetext>http://trac.webkit.org/browser/trunk/Tools/QueueStatusServer/model/attachment.py#L114
http://trac.webkit.org/browser/trunk/Tools/QueueStatusServer/model/attachment.py#L93</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>810147</commentid>
    <comment_count>6</comment_count>
    <who name="Alan Cutter">alancutter</who>
    <bug_when>2013-01-17 19:58:09 -0800</bug_when>
    <thetext>Another case of this cropped up today.
https://webkit-commit-queue.appspot.com/status-bubble/183293

&gt; Traceback (most recent call last):
&gt;   File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py&quot;, line 714, in __call__
&gt;     handler.get(*groups)
&gt;   File &quot;/base/data/home/apps/webkit-commit-queue/1.364503684603662849/handlers/statusbubble.py&quot;, line 78, in get
&gt;     bubbles, show_submit_to_ews = self._build_bubbles_for_attachment(attachment)
&gt;   File &quot;/base/data/home/apps/webkit-commit-queue/1.364503684603662849/handlers/statusbubble.py&quot;, line 62, in _build_bubbles_for_attachment
&gt;     if not self._have_status_for(attachment, queue):
&gt;   File &quot;/base/data/home/apps/webkit-commit-queue/1.364503684603662849/handlers/statusbubble.py&quot;, line 56, in _have_status_for
&gt;     return bool(queue.is_ews() and attachment.status_for_queue(queue))
&gt;   File &quot;/base/data/home/apps/webkit-commit-queue/1.364503684603662849/model/attachment.py&quot;, line 95, in status_for_queue
&gt;     queue_summary = self.summary().get(queue.name_with_underscores())
&gt;   File &quot;/base/data/home/apps/webkit-commit-queue/1.364503684603662849/model/attachment.py&quot;, line 73, in summary
&gt;     memcache.set(str(self.id), self._summary, namespace=&quot;attachment-summary&quot;)
&gt;   File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 793, in set
&gt;     namespace=namespace)
&gt;   File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 898, in _set_with_policy
&gt;     time, &apos;&apos;, namespace)
&gt;   File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 977, in _set_multi_async_with_policy
&gt;     stored_value, flags = _validate_encode_value(value, self._do_pickle)
&gt;   File &quot;/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py&quot;, line 236, in _validate_encode_value
&gt;     &apos;received %d bytes&apos; % (MAX_VALUE_SIZE, len(stored_value)))
&gt; ValueError: Values may not be more than 1000000 bytes in length; received 1053158 bytes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>821054</commentid>
    <comment_count>7</comment_count>
    <who name="Alan Cutter">alancutter</who>
    <bug_when>2013-01-30 21:19:42 -0800</bug_when>
    <thetext>Bug 107184 is a duplicate of this and has been resolved.

*** This bug has been marked as a duplicate of bug 107184 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>