<?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>57678</bug_id>
          
          <creation_ts>2011-04-01 16:01:14 -0700</creation_ts>
          <short_desc>slow or flaky workers test under new-run-webkit-tests</short_desc>
          <delta_ts>2011-04-19 20:35:47 -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>FIXED</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="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dimich</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>378164</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-01 16:01:14 -0700</bug_when>
    <thetext>This test seems to take more than six seconds to complete; this is probably not a good thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378898</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-04-04 11:16:57 -0700</bug_when>
    <thetext>I see this test is actually SKIP now in platform/mac/test_expectations.txt.

Is it possible to add more info as for why it is SKIP (a link to failed results would be useful).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378914</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 11:33:20 -0700</bug_when>
    <thetext>I only marked this as a SKIP on friday because I was trying to get the mac NRWT bot to run cleanly. In my experience that test was taking anywhere from a few seconds to more than 35 to complete (timeouts).

Unfortunately, there is no mac NRWT bot yet, so I can&apos;t point you to logs.

It&apos;s easy enough for me to reproduce. Is there something I can get for you that would be helpful?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378924</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-04-04 11:46:42 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; It&apos;s easy enough for me to reproduce. Is there something I can get for you that would be helpful?

I run it numerous times (in RWT and NRWT) and it takes &lt;1s with no timeouts. So I&apos;d like to figure out what&apos;s different. Do you run debug/release? what OS? is it only repros under NRWT or RWT also? What is exact command you run? etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378930</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 11:53:30 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; It&apos;s easy enough for me to reproduce. Is there something I can get for you that would be helpful?
&gt; 
&gt; I run it numerous times (in RWT and NRWT) and it takes &lt;1s with no timeouts. So I&apos;d like to figure out what&apos;s different. Do you run debug/release? what OS? is it only repros under NRWT or RWT also? What is exact command you run? etc.

Mac SL release, upstream mac DumpRenderTree (not chromium), just run as &quot;new-run-webkit-tests --worker-model=inline fast&quot;, for example.

I am rebuilding against tip-of-tree right now and will confirm that it still happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378961</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 12:30:04 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; It&apos;s easy enough for me to reproduce. Is there something I can get for you that would be helpful?
&gt; &gt; 
&gt; &gt; I run it numerous times (in RWT and NRWT) and it takes &lt;1s with no timeouts. So I&apos;d like to figure out what&apos;s different. Do you run debug/release? what OS? is it only repros under NRWT or RWT also? What is exact command you run? etc.
&gt; 
&gt; Mac SL release, upstream mac DumpRenderTree (not chromium), just run as &quot;new-run-webkit-tests --worker-model=inline fast&quot;, for example.
&gt; 
&gt; I am rebuilding against tip-of-tree right now and will confirm that it still happens.

Okay, it is still timing out, but only when I run the entire set of tests. Exactly command line is:

% new-run-webkit-tests --print default,config --worker-model=inline</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378963</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 12:32:12 -0700</bug_when>
    <thetext>Note that the test is definitely flaky, because when NRWT retries the test, it passes.

This suggests to me that some previous test is messing with the state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378982</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 12:52:25 -0700</bug_when>
    <thetext>Hmm. Probably better to mark this as a flaky PASS/TIMEOUT test, since it looks like it doesn&apos;t always timeout and that way we&apos;ll eventually be able to get better data on it from the flakiness dashboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379117</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 15:10:57 -0700</bug_when>
    <thetext>interesting .. if you run with --time-out-ms=35000 (to match the ORWT default), several tests are reliably failing with a timeout on notifyDone() inside the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379161</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-04-04 16:04:59 -0700</bug_when>
    <thetext>Okay, after I adjusted the default test timeout on NRWT to match ORWT, I&apos;m seeing the following tests time out occasionally inside DRT themselves, when run as part of the whole test suite:

fast/workers/dedicated-worker-lifecycle.html
fast/workers/shared-worker-frame-lifecycle.html
fast/workers/shared-worker-lifecycle.html
fast/workers/storage/interrupt-database.html
fast/workers/worker-close-more.html
fast/workers/worker-lifecycle.html

To reproduce, run the command line as before. For now I will check in some test expectation suppressions so that things will run cleanly while we hunt this down.

I&apos;ve updated the subject accordingly as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379216</commentid>
    <comment_count>10</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-04 16:47:50 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Okay, after I adjusted the default test timeout on NRWT to match ORWT, I&apos;m seeing the following tests time out occasionally inside DRT themselves, when run as part of the whole test suite:
&gt; 
&gt; fast/workers/dedicated-worker-lifecycle.html
&gt; fast/workers/shared-worker-frame-lifecycle.html
&gt; fast/workers/shared-worker-lifecycle.html
&gt; fast/workers/storage/interrupt-database.html
&gt; fast/workers/worker-close-more.html
&gt; fast/workers/worker-lifecycle.html
&gt; 
&gt; To reproduce, run the command line as before. For now I will check in some test expectation suppressions so that things will run cleanly while we hunt this down.
&gt; 
&gt; I&apos;ve updated the subject accordingly as well.

So they timeout with NRWT but not with ORWT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>385275</commentid>
    <comment_count>11</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-04-13 14:59:49 -0700</bug_when>
    <thetext>Might be related to bug 57090. One of the tests listed in this bug as flaky actually had a race condition in it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388878</commentid>
    <comment_count>12</comment_count>
      <attachid>90271</attachid>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-04-19 16:10:19 -0700</bug_when>
    <thetext>Created attachment 90271
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388881</commentid>
    <comment_count>13</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-04-19 16:13:03 -0700</bug_when>
    <thetext>I run:

new-run-webkit-tests --print default,config --worker-model=inline

multiple times and didn&apos;t see a single flake on those worker tests after landing fix for bug 67090. I think the better termination sequence and removing the document.write() usage form utility script fixed that.

I did see failures on my machine before that fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388938</commentid>
    <comment_count>14</comment_count>
      <attachid>90271</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-19 17:28:58 -0700</bug_when>
    <thetext>Comment on attachment 90271
Patch

If it has problems, it can easily be reverted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389031</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-19 20:33:04 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 90271:

http/tests/misc/favicon-loads-with-icon-loading-override.html bug 58412 (author: alice.liu@apple.com)
http/tests/media/video-load-twice.html bug 51138 (authors: eric.carlson@apple.com and jamesr@chromium.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389032</commentid>
    <comment_count>16</comment_count>
      <attachid>90271</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-19 20:35:41 -0700</bug_when>
    <thetext>Comment on attachment 90271
Patch

Clearing flags on attachment: 90271

Committed r84335: &lt;http://trac.webkit.org/changeset/84335&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389033</commentid>
    <comment_count>17</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-19 20:35:47 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90271</attachid>
            <date>2011-04-19 16:10:19 -0700</date>
            <delta_ts>2011-04-19 20:35:41 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-57678-20110419161017.patch</filename>
            <type>text/plain</type>
            <size>1807</size>
            <attacher name="Dmitry Titov">dimich</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODQyODUKZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5n
ZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxvZwppbmRleCAyYjc0M2ZiZGQyMmI3Y2E3NzdmYzE1
M2Y0YmI1ZWQzZTVjZDU0ZDc3Li5jZWM1NzU5YjQ0Yzc3NjVkMmMyYzA0YTVlNDA5YjZiZTA0MDUw
M2Q5IDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKKysrIGIvTGF5b3V0VGVzdHMv
Q2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTEtMDQtMTkgIERtaXRyeSBUaXRvdiAgPGRp
bWljaEBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgbmV3LXJ1bi13ZWJraXQtdGVzdHM6IHJlbW92ZSBmb3JtZXJseSBmbGFrZXkg
dGVzdHMgZm9ybSB0ZXN0X2V4cGVjdGF0aW9ucy4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtp
dC5vcmcvc2hvd19idWcuY2dpP2lkPTU3Njc4CisKKyAgICAgICAgVGVzdHMgZml4ZWQgYnkgaHR0
cDovL3RyYWMud2Via2l0Lm9yZy9jaGFuZ2VzZXQvODM5MDAKKworICAgICAgICAqIHBsYXRmb3Jt
L21hYy90ZXN0X2V4cGVjdGF0aW9ucy50eHQ6CisKIDIwMTEtMDQtMTkgIENocmlzIFJvZ2VycyAg
PGNyb2dlcnNAZ29vZ2xlLmNvbT4KIAogICAgICAgICBVbnJldmlld2VkLgpkaWZmIC0tZ2l0IGEv
TGF5b3V0VGVzdHMvcGxhdGZvcm0vbWFjL3Rlc3RfZXhwZWN0YXRpb25zLnR4dCBiL0xheW91dFRl
c3RzL3Bs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