<?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>29090</bug_id>
          
          <creation_ts>2009-09-09 09:58:20 -0700</creation_ts>
          <short_desc>http/tests/xmlhttprequest/workers/methods-async.html occasionally timing out on Tiger bot</short_desc>
          <delta_ts>2011-07-01 06:43:53 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/results/Tiger%20Intel%20Release/r48210%20(4202)/results.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>atwilson</cc>
    
    <cc>dimich</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>145811</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-09 09:58:20 -0700</bug_when>
    <thetext>http/tests/xmlhttprequest/workers/methods-async.html occasionally timing out on Tiger bot

Sadly I don&apos;t have any more information.  If I see it again, I&apos;ll note so here.  We need to get some flakey-test monitoring setup like Chromium has:
http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/layout_tests/flakiness_dashboard.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145819</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2009-09-09 10:20:43 -0700</bug_when>
    <thetext>I&apos;ve often wished that DumpRenderTree could dump its current output when a test times out., so it&apos;s easier to figure out which test case is failing/dying. That would make cases like this much easier to debug.

Maybe there&apos;s some way to have run-webkit-tests send a signal to DRT when it&apos;s timing out to force it to dump the current contents instead of just closing the fd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145825</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2009-09-09 10:31:55 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;ve often wished that DumpRenderTree could dump its current output when a test
&gt; times out

I really like that idea.  We -- not you :) -- should totally implement that and doing something similar in chromium land as well.
(In reply to Description)

&gt; We need to get some flakey-test monitoring setup

I also like the idea of doing some flakiness monitoring tool. I have to admit I&apos;ve had a hard time interpreting the output of that but I&apos;m starting to grok it.


So far I found an instance of a similar hang as far back as this:
 http://build.webkit.org/results/Tiger%20Intel%20Release/r48111%20(4125)/results.html 

and there isn&apos;t too much history in the buildbot before that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145987</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-09 16:01:38 -0700</bug_when>
    <thetext>http://build.webkit.org/results/Tiger%20Intel%20Release/r48230%20(4213)/results.html
Another worker test just timed out on the Tiger bots.  Maybe this is more common than I thought.  Thanks for the quick response!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145988</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-09 16:02:04 -0700</bug_when>
    <thetext>http/tests/xmlhttprequest/workers/shared-worker-methods.html was the test which just timed out, in case the results link goes away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146607</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-11 09:32:25 -0700</bug_when>
    <thetext>shared-workers-methods timing out on tiger bots too. :(
http://build.webkit.org/results/Tiger%20Intel%20Release/r48301%20(4269)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146934</commentid>
    <comment_count>6</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2009-09-12 10:22:43 -0700</bug_when>
    <thetext>Turns out that DRT already has a graceful timeout period built in to it which flushes the current output.
The problem is that run-webkit-tests has its own (less-graceful) timeout, and the timeout value is set too low so we&apos;re getting the less-graceful timeout behavior.

I&apos;ve got a patch out for review (https://bugs.webkit.org/show_bug.cgi?id=29223) to address this behavior, and hopefully once that lands we can figure out what&apos;s causing this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150964</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-29 11:06:23 -0700</bug_when>
    <thetext>http/tests/workers/worker-importScripts.html
from http://build.webkit.org/results/Tiger%20Intel%20Release/r48881%20(4756)/results.html
and
http/tests/xmlhttprequest/workers/methods.html
from http://build.webkit.org/results/Tiger%20Intel%20Release/r48882%20(4757)/results.html

just timed out on the Tiger bots as well.  So it looks like this bug is not yet resolved. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150970</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2009-09-29 11:17:16 -0700</bug_when>
    <thetext>

&gt; just timed out on the Tiger bots as well.  So it looks like this bug is not yet
&gt; resolved. :(

Yeah, we never did anything to address this bug, I just enabled us to debug it more by fixing the timeout handling.

Dave, any ideas here? The error in worker-importScripts is really bizarre, since it&apos;s happening *between* the execution of the two scripts in an importScripts(script1, script2) call.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151380</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-30 15:54:52 -0700</bug_when>
    <thetext>http/tests/workers/shared-worker-importScripts.html timeout seen in:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48927%20(4789)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r48936%20(4796)/results.html
and http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html in:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48944%20(4802)/results.html

I assume these are all related.  But I&apos;m happy to file individual bugs if that would be helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151382</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-30 15:55:31 -0700</bug_when>
    <thetext>http/tests/workers/worker-importScripts.html in:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48923%20(4785)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151451</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-30 22:29:25 -0700</bug_when>
    <thetext>More tiger failures from this evening:
http/tests/xmlhttprequest/workers/methods.html:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48956%20(4813)/results.html

http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48944%20(4802)/results.html

http/tests/workers/worker-importScripts.html:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48936%20(4796)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r48923%20(4785)/results.html

http/tests/workers/shared-worker-importScripts.html:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48927%20(4789)/results.html

I wish we had any idea why these worker tests were timing out on the Tiger bot. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151650</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-01 12:18:04 -0700</bug_when>
    <thetext>This is definitely the worst bug on the Tiger bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151653</commentid>
    <comment_count>13</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-01 12:18:52 -0700</bug_when>
    <thetext>Do we believe these are timing out because the test simply runs out of time, or because of some deadlock/hang in WebCore/DRT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151657</commentid>
    <comment_count>14</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-01 12:22:32 -0700</bug_when>
    <thetext>methods.html timed out again this morning:
http://build.webkit.org/results/Tiger%20Intel%20Release/r48971%20(4826)/results.html

They seem to all fail in the same place, and all fail pretty early in the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151669</commentid>
    <comment_count>15</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2009-10-01 12:44:09 -0700</bug_when>
    <thetext>It is suspicious that they are all network-related tests, and that we&apos;ve seen at least one actual crash down in that code lately.

I think that Dmitry was looking at it a bit - I have been looking at it as well, but my free cycles are limited today and tomorrow due to sheriff duties. He has some suspicions that the synchronous network request code might have some bustage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151710</commentid>
    <comment_count>16</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2009-10-01 15:07:58 -0700</bug_when>
    <thetext>Indeed, I was looking at it although w/o results so far. So far I see that all the tests that fail do ThreadableLoader::loadResourceSynchronously on the worker thread. Trying to get this to reproduce locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151711</commentid>
    <comment_count>17</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-01 15:14:05 -0700</bug_when>
    <thetext>It looks like it only reproduces on Tiger.  So you may need to acquire a Tiger box.  It may be an interaction with Tiger&apos;s CFNetwork calls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151776</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-02 00:31:20 -0700</bug_when>
    <thetext>http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html just crashed on Leopard:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r49009%20(5653)/results.html

Perhaps this is not a Tiger-only bug.  Or perhaps that&apos;s a completely unrelated bug.  Sadly the buildbots don&apos;t spit out crash logs. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152407</commentid>
    <comment_count>19</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-05 12:10:26 -0700</bug_when>
    <thetext>Another crash from the leopard bot:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r49068%20(5705)/results.html

And 5 more timeouts from Tiger in the last 24 hours. :(
http://build.webkit.org/results/Tiger%20Intel%20Release/r49079%20(4904)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r49081%20(4906)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r49083%20(4908)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r49088%20(4912)/results.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r49102%20(4924)/results.html

We should be able to reproduce this locally using the --iterations and --repeat-each flags on run-webkit-tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153258</commentid>
    <comment_count>20</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-07 21:36:35 -0700</bug_when>
    <thetext>I&apos;m beginning to think this has more to do with xmlhttprequest tests and less to do with workers.

I think we have a random corruption problem, similar to what ap solved with the CString null termination issue, since this is producing most often some sort of network hang, and occasional crashes on both Leopard and tiger.  The fact that the hangs all look similar, but seem to be with different tests leads me to believe this is all one root cause.  I&apos;m not sure why this happens more often on Tiger than Leopard yet.

This is definitely our worst test falkiness bug for Mac at the moment.

From this evening:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r49284%20(5872)/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length-pretty-diff.html
http://build.webkit.org/results/Tiger%20Intel%20Release/r49260%20(5031)/http/tests/xmlhttprequest/workers/shared-worker-methods-async-pretty-diff.html

Bug 30194 (also seen this evening) might also be from the same root cause.  Not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153515</commentid>
    <comment_count>21</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-08 13:44:56 -0700</bug_when>
    <thetext>Another just now:
http://build.webkit.org/results/Tiger%20Intel%20Release/r49314%20(5069)/http/tests/xmlhttprequest/workers/shared-worker-methods-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431124</commentid>
    <comment_count>22</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2011-07-01 06:43:53 -0700</bug_when>
    <thetext>The tiger bot was removed several months ago and my understanding is that the code would not compile on Tiger anymore. Closing WONTFIX, feel free to reopen it if I am mistaking.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>