<?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>61932</bug_id>
          
          <creation_ts>2011-06-02 09:06:16 -0700</creation_ts>
          <short_desc>jquery/manipulation.html is very slow in debug builds, frequently timing out</short_desc>
          <delta_ts>2014-12-14 21:00:43 -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>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=139634</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>90970</dependson>
    
    <dependson>90968</dependson>
    
    <dependson>90969</dependson>
    
    <dependson>90971</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mario Sanchez Prada">mario</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>ossy</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>414175</commentid>
    <comment_count>0</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2011-06-02 09:06:16 -0700</bug_when>
    <thetext>This test has been observed randomly failing during the last two days at least in the GTK 32-bit only.

This is the output diff when it fails:

--- /home/slave/webkitgtk/gtk-linux-32-debug/build/layout-test-results/jquery/manipulation-expected.txt	2011-06-02 08:24:17.491741296 -0700
+++ /home/slave/webkitgtk/gtk-linux-32-debug/build/layout-test-results/jquery/manipulation-actual.txt	2011-06-02 08:24:17.491741296 -0700
@@ -1,2 +1,2 @@
-ALERT: 473 tests of 473 passed, 0 failed.
+FAIL: Timed out waiting for notifyDone to be called


Stating the obvious, it looks like the messages listener in jquery/resources/helper.js does not get executed some times, because of some reason.

CCing Adam Barth, as the author of the commit introducing this jquery test suite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614230</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-02 06:17:11 -0700</bug_when>
    <thetext>It fails always on Qt 32 bit debug mode always.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614236</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-02 06:25:46 -0700</bug_when>
    <thetext>It is only a very very slow test, passes with --no-timeout option passed to DRT:

$ time WebKitBuild/Debug/bin/DumpRenderTree LayoutTests/jquery/manipulation.html --no-timeout
ALERT: 473 tests of 473 passed, 0 failed.
Source:

&lt;html&gt;&lt;head&gt;&lt;script src=&quot;resources/helper.js&quot;&gt;&lt;/script&gt;&lt;style&gt;iframe { width: 100%; height: 100%; }&lt;/style&gt;
&lt;/head&gt;&lt;body&gt;&lt;iframe src=&quot;resources/test/index.html?manipulation&quot;&gt;&lt;/iframe&gt;
&lt;/body&gt;&lt;/html&gt;
Content-Type: text/plain

#EOF
#EOF
#EOF
LEAK: 76584 WebCoreNode
LEAK: 26 CachedResource

real    0m35.541s
user    0m35.346s
sys     0m0.048s


But if I marked it as slow in test_expectations.txt, it still fails, because it seems SLOW directive is only for NRWT and not for DRT. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614242</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-02 06:37:56 -0700</bug_when>
    <thetext>cc NRWT guys, and Adam as the author of the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614440</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-05-02 10:58:29 -0700</bug_when>
    <thetext>test_expectations has a &quot;SLOW&quot; designation, but we may need to break up the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614538</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-02 12:39:12 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; test_expectations has a &quot;SLOW&quot; designation, but we may need to break up the test.

That&apos;s what I mentioned. SLOW only works in NRWT side, but it seems that
NRWT doesn&apos;t pass timeout to the DRT and DRT exits early with notifydone
timeout after 30 secs independetly of SLOW directive in test_expectations.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614645</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-05-02 14:04:21 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; test_expectations has a &quot;SLOW&quot; designation, but we may need to break up the test.
&gt; 
&gt; That&apos;s what I mentioned. SLOW only works in NRWT side, but it seems that
&gt; NRWT doesn&apos;t pass timeout to the DRT and DRT exits early with notifydone
&gt; timeout after 30 secs independetly of SLOW directive in test_expectations.txt

That&apos;s a problem, obviously. Either DRT needs to have no timeout or we need to pass a timeout to it that it honors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>666687</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-07-11 05:24:41 -0700</bug_when>
    <thetext>I have a workaround for this bug if the given DRT supports --timeout option.
Now only Qt port do it ... but it is buggy a little bit, but will be fixed
soon: https://bugs.webkit.org/show_bug.cgi?id=90966

You have to pass the following arguments to NRWT:
--additional-drt-flag=--timeout --additional-drt-flag=50000 --time-out-ms=50000

But unfortunately you have to modify the master.cfg to do it on the buildbot. :-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055551</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-12-14 21:00:43 -0800</bug_when>
    <thetext>Mac is affected too.

I&apos;m going to mark the test as slow, and then we can see if something else needs to be done for other timeout guards.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>