<?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>33256</bug_id>
          
          <creation_ts>2010-01-06 09:33:48 -0800</creation_ts>
          <short_desc>REGRESSION(52854?) fast/workers/shared-worker-constructor.html failed on Leopard Build Bot</short_desc>
          <delta_ts>2010-01-29 13:56:06 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>33279</dup_id>
          
          <bug_file_loc></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>abecsi</cc>
    
    <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>atwilson</cc>
    
    <cc>levin</cc>
    
    <cc>mrowe</cc>
    
    <cc>ojan</cc>
    
    <cc>ukai</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>177615</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 09:33:48 -0800</bug_when>
    <thetext>REGRESSION(52854?) fast/workers/shared-worker-constructor.html failed on Leopard Build Bot

The buildbot seems to think that r52854 was at fault, but I don&apos;t believe it:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52854%20(9006)/results.html
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52854%20(9007)/results.html
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52854%20(9008)/results.html
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52854%20(9009)/results.html

Maybe the builds are failing to update on the test machine?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177616</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 09:35:03 -0800</bug_when>
    <thetext>CCing Mark in case he knows of something going wrong with the bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177618</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 09:36:16 -0800</bug_when>
    <thetext>Andrew added the test 4 months ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177637</commentid>
    <comment_count>3</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-01-06 10:35:06 -0800</bug_when>
    <thetext>It looks like it only happens on release builds. It happens for shared-worker-constructor.html on leopard and dedicated-worker-constructor.html on snow leopard -- both release builds.

I&apos;ll see if I can repro this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177639</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2010-01-06 10:37:55 -0800</bug_when>
    <thetext>I&apos;m guessing that the console error triggering this (Unexpected response
code:HTML) is coming from the *previous* test (websocket-event-target.html).

(dedicated-worker-lifecycle.html is disabled on leopard which is why we get the error on different tests on different builds).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177640</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 10:42:03 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/49488 added websocket-event-target.html (3 months ago).  I suspect there was some recent change to trigger this since it seems to be failing consistently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177642</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 10:44:13 -0800</bug_when>
    <thetext>I wonder if the previous change http://trac.webkit.org/changeset/52853 could be related.  That at least changed run-webkit-tests...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177653</commentid>
    <comment_count>7</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-01-06 11:06:27 -0800</bug_when>
    <thetext>I&apos;m currently unable to repro this locally (when running all tests using a retail build after sync&apos;ing to the latest revision).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177723</commentid>
    <comment_count>8</comment_count>
      <attachid>45985</attachid>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2010-01-06 13:18:56 -0800</bug_when>
    <thetext>Created attachment 45985
Set isHttpdOpen to 0 if pidfile does not exist for some reason.

This could maybe fix the test. It at least fixes:
&quot;http/tests/appcache .(48)Address already in use: make_sock: could not bind to address 127.0.0.1:8000
no listening sockets available, shutting down
Unable to open logs&quot;

Which the log of the Leopard bot shows.

I do not understand how the pidfile could dissapear, but it more logical to set isHttpdOpen to 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177726</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 13:21:46 -0800</bug_when>
    <thetext>I am not well enough versed in run-webkit-tests to know if this is correct.

Mark Rowe is probably your best bet for review.  It&apos;s possible that Adam Roben (because he&apos;s also hacked on RWT) or Alexey (because he&apos;s done so much httpd related testing) might know this code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177727</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-01-06 13:22:17 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45985 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177761</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 14:11:32 -0800</bug_when>
    <thetext>The commit-queue isn&apos;t much use to us for regression fixes.  It blocks itself while the bots are red so it doesn&apos;t ever make a red tree redder.   I should make it smarter to be able to ignore the bot status when landing a REGRESSION fix.  Maybe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177762</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 14:11:44 -0800</bug_when>
    <thetext>I&apos;ll land this by hand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177763</commentid>
    <comment_count>13</comment_count>
      <attachid>45985</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 14:12:55 -0800</bug_when>
    <thetext>Comment on attachment 45985
Set isHttpdOpen to 0 if pidfile does not exist for some reason.

Clearing flags on attachment: 45985

Committed r52869: &lt;http://trac.webkit.org/changeset/52869&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177765</commentid>
    <comment_count>14</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 14:13:03 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177786</commentid>
    <comment_count>15</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 14:41:52 -0800</bug_when>
    <thetext>This does not seem to have fixed the problem:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52870%20(9022)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177807</commentid>
    <comment_count>16</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 15:25:50 -0800</bug_when>
    <thetext>Looks like:
http/tests/appcache .(48)Address already in use: make_sock: could not bind to address 127.0.0.1:8000
no listening sockets available, shutting down
is still occuring in
http://build.webkit.org/builders/Leopard%20Intel%20Release%20%28Tests%29/builds/9022/steps/layout-test/logs/stdio
which corresponds to r52870.

I&apos;m not sure what to do other than to roll out the original change.  It seems futile to try and debug this on the bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177815</commentid>
    <comment_count>17</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 15:37:35 -0800</bug_when>
    <thetext>I saw this failure trying to run-webkit-tests locally:

Timed out waiting for httpd to start at WebKitTools/Scripts/run-webkit-tests line 1425, &lt;IN&gt; line 37668.
Failed to run &quot;[&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--quiet&apos;]&quot; exit_code: 60</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177819</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 15:49:12 -0800</bug_when>
    <thetext>I think that run-webkit-tests is not terminating the httpd processes correctly.  So even once I roll this out, I&apos;m not sure it will fix the bots as they may have rogue httpd processes running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177826</commentid>
    <comment_count>19</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 15:56:24 -0800</bug_when>
    <thetext>Committed r52876: &lt;http://trac.webkit.org/changeset/52876&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177841</commentid>
    <comment_count>20</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:14:19 -0800</bug_when>
    <thetext>This does not seem to be my day.

The rollout did not fix the SL bot:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r52876%20(3931)/results.html
The Leopard bot is still building.

The first revision we saw this was r52854
http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20%28Tests%29/builds/3919
but it is my suspicion that the revision was unrelated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177852</commentid>
    <comment_count>21</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:28:03 -0800</bug_when>
    <thetext>Despite this rollout not fixing the bots, my local run-webkit-tests httpd failure is now gone, so it is my suspicion that this change was at least related to my local failure if not the bot errors.

Leopard completed and is also failing:
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r52876%20(9024)/results.html

Time for further debugging.  I guess we should just skip this test if we can&apos;t figure out what is wrong here.

I don&apos;t see any commits which could be related to this failure within 10 hours of when it first occurred.  I stopped searching after that point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177855</commentid>
    <comment_count>22</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:32:53 -0800</bug_when>
    <thetext>Andrew Wilson is right.  The log must be coming  from the previous test as it would come from this line of code:
http://trac.webkit.org/browser/trunk/WebCore/websockets/WebSocketHandshake.cpp#L234</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177857</commentid>
    <comment_count>23</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:37:59 -0800</bug_when>
    <thetext>I&apos;m going to skip the websockets test to make the tree green.  Ukai or Alexey or someone working on web-sockets can revisit the test at a later date.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177858</commentid>
    <comment_count>24</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:39:13 -0800</bug_when>
    <thetext>http://trac.webkit.org/browser/trunk/LayoutTests/fast/websockets/script-tests/websocket-event-target.js is the test in question.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177859</commentid>
    <comment_count>25</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:43:54 -0800</bug_when>
    <thetext>Like Dave Levin, I have not been able to reproduce the failure locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177865</commentid>
    <comment_count>26</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:48:24 -0800</bug_when>
    <thetext>Committed r52883: &lt;http://trac.webkit.org/changeset/52883&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177866</commentid>
    <comment_count>27</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:50:51 -0800</bug_when>
    <thetext>The story continues.  It seems that this test stopped consistently failing after:
http://build.webkit.org/changes/5099

It is still skipped and should probably remain skipped until someone with WebSockets experience can offer a guess as to what&apos;s going on here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177867</commentid>
    <comment_count>28</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 16:51:36 -0800</bug_when>
    <thetext>http://build.webkit.org/changes/5099 corresponds to http://trac.webkit.org/changeset/52877 in case buildbot&apos;s little mind forgets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177878</commentid>
    <comment_count>29</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 17:08:39 -0800</bug_when>
    <thetext>Alexey asked that I file a new bug.  I&apos;ve done so.  bug 33279.

*** This bug has been marked as a duplicate of bug 33279 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45985</attachid>
            <date>2010-01-06 13:18:56 -0800</date>
            <delta_ts>2010-01-06 14:12:55 -0800</delta_ts>
            <desc>Set isHttpdOpen to 0 if pidfile does not exist for some reason.</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>1117</size>
            <attacher name="Andras Becsi">abecsi</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA5NjcxMTFjLi45NDljMWYzIDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTQgQEAKIDIwMTAtMDEt
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c0h0dHBkT3BlbiA9IDA7CisgICAgICAgIHJtZGlyICRodHRwZFBpZERpcjsKKyAg
ICAgICAgcmV0dXJuOworICAgIH0KIAogICAgIG15ICRodHRwZFBpZCA9IGBjYXQgIiRodHRwZFBp
ZEZpbGUiYDsKICAgICBraWxsIDE1LCAkaHR0cGRQaWQ7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>