<?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>75499</bug_id>
          
          <creation_ts>2012-01-03 15:17:15 -0800</creation_ts>
          <short_desc>Test results server is repeating runs</short_desc>
          <delta_ts>2012-10-12 11:32:29 -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>DUPLICATE</resolution>
          <dup_id>97643</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="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jparent</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>529092</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-01-03 15:17:15 -0800</bug_when>
    <thetext>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=svg%2Fhixie%2Ftext%2F003.html

See for example the Webkit Mac10.6 (CG)(dbg) row. Each set of data for a run is repeated five times. The problem is that the data is successfully merging, but appengine is returning a 500 because we&apos;re exceeding the memory limit, so we retry and the same problem happens again. (see the 500s at the end http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6%20%28CG%29%28dbg%29/builds/2310/steps/webkit_tests/logs/stdio)

As best I can tell here is the corresponding 500:
2012-01-03 13:48:34.411 /testfile/upload 500 39738ms 0kb Python-urllib/2.6
See details
74.125.248.75 - - [03/Jan/2012:13:48:34 -0800] &quot;POST /testfile/upload HTTP/1.1&quot; 500 0 - &quot;Python-urllib/2.6&quot; &quot;test-results.appspot.com&quot; ms=39739 cpu_ms=31712 api_cpu_ms=398 cpm_usd=0.993279 exit_code=105 instance=00c61b117c4a2afa8703f545ea5fa594fcd8e5d9
C 2012-01-03 13:48:34.387
Exceeded soft private memory limit with 156.695 MB after servicing 7 requests total
W 2012-01-03 13:48:34.387
While handling this request, the process that handled this request was found to be using too much memory and was terminated. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you may have a memory leak in your application.

The long-term solution to this is to change the JSON data format to use less memory (e.g. use a single string as a run-length-encoding format, store data chunked by 100 runs at a time, etc). In the short-term we can add a check to make sure that the run currently being uploaded wasn&apos;t just uploaded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>529736</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-01-04 14:04:38 -0800</bug_when>
    <thetext>Got a better log of the error. We&apos;re hitting AppEngine&apos;s request deadline. Move this to a TaskQueue or using an AppEngine Backend would fix this.

2012-01-04 13:18:13.510 /testfile/upload 500 78616ms 0kb Python-urllib/2.6
D 2012-01-04 13:17:20.669 Processing upload request, master: ChromiumWebkit, builder: Webkit Mac10.6 (CG)(dbg), test_type: layout-tests.
D 2012-01-04 13:17:20.669 test: [FieldStorage(u&apos;file&apos;, u&apos;incremental_results.json&apos;), FieldStorage(u&apos;file&apos;, u&apos;full_results.json&apos;), FieldStorage(u&apos;file&apos;, u&apos;times_ms.json&apos;)], type
I 2012-01-04 13:17:20.682 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRidosMBDA.
I 2012-01-04 13:17:20.712 Loading incremental json...
I 2012-01-04 13:17:21.836 Checking incremental json...
I 2012-01-04 13:17:21.836 Loading existing aggregated json...
I 2012-01-04 13:17:24.210 Checking existing aggregated json...
I 2012-01-04 13:17:24.211 Merging json results...
D 2012-01-04 13:17:24.211 Merging build 2329, incremental json index: 0.
I 2012-01-04 13:17:27.142 Data saved: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRiO6cIBDA.
I 2012-01-04 13:17:27.167 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRiQ6cIBDA.
I 2012-01-04 13:17:27.326 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRiCtOcBDA.
I 2012-01-04 13:17:27.419 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRiVuoACDA.
I 2012-01-04 13:17:27.486 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRil-ucCDA.
I 2012-01-04 13:17:27.561 Loading data for key: agx0ZXN0LXJlc3VsdHNyEgsSCURhdGFFbnRyeRi1uJYDDA.
I 2012-01-04 13:17:27.577 Loading incremental json...
I 2012-01-04 13:17:28.716 Checking incremental json...
I 2012-01-04 13:17:28.716 Loading existing aggregated json...
I 2012-01-04 13:17:51.448 Checking existing aggregated json...
I 2012-01-04 13:17:51.474 Merging json results...
D 2012-01-04 13:17:51.474 Merging build 2329, incremental json index: 0.
E 2012-01-04 13:18:13.494 &lt;class &apos;google.appengine.runtime.DeadlineExceededError&apos;&gt;: Traceback (most recent call last): File &quot;/base/data/home/apps/test-results/r103983.355847
C 2012-01-04 13:18:13.495 Exceeded soft private memory limit with 142.629 MB after servicing 1 requests total
I 2012-01-04 13:18:13.495 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This requ
W 2012-01-04 13:18:13.495 A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741057</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-10-12 11:32:29 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>