<?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>56729</bug_id>
          <alias>nrwt-wk2</alias>
          <creation_ts>2011-03-20 21:15:00 -0700</creation_ts>
          <short_desc>Switch webkit2 bot to NRWT</short_desc>
          <delta_ts>2011-10-24 13:58:23 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>63439</dependson>
    
    <dependson>63501</dependson>
    
    <dependson>63673</dependson>
    
    <dependson>63683</dependson>
    
    <dependson>63780</dependson>
    
    <dependson>64056</dependson>
    
    <dependson>67530</dependson>
    
    <dependson>70371</dependson>
    
    <dependson>70435</dependson>
          <blocked>34984</blocked>
    
    <blocked>66965</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Maciej Stachowiak">mjs</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>aroben</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>lforschler</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>370277</commentid>
    <comment_count>0</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-03-20 21:15:00 -0700</bug_when>
    <thetext>new-run-webkit-tests lacks old-run-webkit-tests&apos; support for WebKit2. This consists of the --2 option which uses the WebKitTestRunner tool, and support for detecting WebProcess crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427672</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-26 23:28:01 -0700</bug_when>
    <thetext>OK.  I&apos;m working on NRWT again.  It&apos;s unclear how much work it will be to add this support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427696</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 00:01:09 -0700</bug_when>
    <thetext>Adding support for using WebKitTestRunnner instead of DumpRenderTree seems trivial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427703</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 00:04:24 -0700</bug_when>
    <thetext>Looks like this should be as simple as teaching the port how to return driver_name() of &quot;WebKitTestRunner&quot; when passed the --2 option, as well as teaching WebKitDriver._read_block how to understand #CRASHED and #CRASHED - WebProcess</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427788</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 01:56:46 -0700</bug_when>
    <thetext>Did half of what is needed in bug 63439.  The harder part of actually making us talk to WebKitTestRunner (and supporting the new #CRASHED stuff) is left.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427872</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-27 05:40:13 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Looks like this should be as simple as teaching the port how to return driver_name() of &quot;WebKitTestRunner&quot; when passed the --2 option, as well as teaching WebKitDriver._read_block how to understand #CRASHED and #CRASHED - WebProcess

FYI, Apple&apos;s Windows port of DRT also prints #CRASHED in some cases, so it would be useful for #CRASHED to be understood even when using DRT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428588</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 20:41:28 -0700</bug_when>
    <thetext>new-run-webkit-tests -2 &quot;just works&quot; after bug 63501.  I&apos;ve not yet implemented the #CRASHED handling, but I&apos;m not actually sure it&apos;s necessary.  We&apos;re still correctly detecting crashes, etc.

Does WebKitTestRunner continue running after a WebProcess crash, or does it itself exit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428589</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 20:42:08 -0700</bug_when>
    <thetext>(My previous comment was not to imply that I&apos;m in any way against the #CRASHED handling, just stating that new-run-webkit-tests -2 seems to work even though we haven&apos;t added it yet.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428593</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-27 20:59:06 -0700</bug_when>
    <thetext>After the patch on bug 63501 lands, we still have some 20 unexpected failures with -2.  We can use this bug to track such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428683</commentid>
    <comment_count>9</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-06-28 00:36:52 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; new-run-webkit-tests -2 &quot;just works&quot; after bug 63501.  I&apos;ve not yet implemented the #CRASHED handling, but I&apos;m not actually sure it&apos;s necessary.  We&apos;re still correctly detecting crashes, etc.
&gt; 
&gt; Does WebKitTestRunner continue running after a WebProcess crash, or does it itself exit?

Yes, WebKitTestRunner continues after a WebProcess crash (unless the driver script tells it otherwise). That&apos;s kind of the point of the WebProcess, to not crash its client when it crashes.

Also, if WKTR made itself crash when WebProcess crashes, then results would show a backtrace of the wrong process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428685</commentid>
    <comment_count>10</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-06-28 00:38:22 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (My previous comment was not to imply that I&apos;m in any way against the #CRASHED handling, just stating that new-run-webkit-tests -2 seems to work even though we haven&apos;t added it yet.)

It should work without it, you just need to detect WebProcess crashes and hangs if you don&apos;t want the test session to hang indefinitely when it happens. Making the WebProcess crash or hang deliberately (using kill -SEGV to crash or kill -STOP to hang) should be a reasonable way to test it. It could be a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>477097</commentid>
    <comment_count>11</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2011-10-03 11:26:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/10224918&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487321</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-19 21:57:18 -0700</bug_when>
    <thetext>We&apos;re ready to pull the trigger.  Support is in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488155</commentid>
    <comment_count>13</comment_count>
      <attachid>111902</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-20 21:58:07 -0700</bug_when>
    <thetext>Created attachment 111902
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488156</commentid>
    <comment_count>14</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-20 22:00:28 -0700</bug_when>
    <thetext>I&apos;ve tested locally.  My machine sees 81 failures with WebKit2, in both ORWT and NRWT.  Which matches the 81 failures seen on the bot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488213</commentid>
    <comment_count>15</comment_count>
      <attachid>111902</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-20 23:48:16 -0700</bug_when>
    <thetext>Comment on attachment 111902
Patch

Clearing flags on attachment: 111902

Committed r98074: &lt;http://trac.webkit.org/changeset/98074&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488214</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-20 23:48:23 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488509</commentid>
    <comment_count>17</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-21 11:12:54 -0700</bug_when>
    <thetext>This seems to have caused lots of plugin tests to fail:
http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r98106%20(2090)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488511</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-21 11:15:21 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; This seems to have caused lots of plugin tests to fail:
&gt; http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r98106%20(2090)/results.html

That builder doesn&apos;t use WK2 does it?  I&quot;m not sure that&apos;s related to this specific change, but may be related to other changes which I made to support WK2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488977</commentid>
    <comment_count>19</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-22 18:04:59 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; This seems to have caused lots of plugin tests to fail:
&gt; http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r98106%20(2090)/results.html

Do you still believe this to be the case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489471</commentid>
    <comment_count>20</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-24 11:30:57 -0700</bug_when>
    <thetext>I think so. Maybe the test plugin isn&apos;t getting built?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489497</commentid>
    <comment_count>21</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-24 11:55:00 -0700</bug_when>
    <thetext>Behavior on the lion bot (non-wk2) should not have changed (at least not intentionally).

It&apos;s unclear which of the tests you cite from:
http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r98106%20(2090)/results.html
are plugin tests.

If you can give me an example test, which you see failing on the bots now with NRWT, or can demonstrate locally as failing with NRWT and passing with ORWT, i&apos;m *very* happy to investigate and fix.

Thank you again for your help and patience!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489559</commentid>
    <comment_count>22</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-24 13:21:31 -0700</bug_when>
    <thetext>Try this list:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(WebKit2%20Tests)/r98243%20(15595)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489579</commentid>
    <comment_count>23</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-24 13:40:33 -0700</bug_when>
    <thetext>I looked on the bot, and TestNetscapePlugin.plugin is missing from the build results dir for some reason</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489585</commentid>
    <comment_count>24</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-24 13:43:30 -0700</bug_when>
    <thetext>ORWT has:

    # FIXME: We build both DumpRenderTree and WebKitTestRunner for
    # WebKitTestRunner runs becuase DumpRenderTree still includes
    # the DumpRenderTreeSupport module and the TestNetscapePlugin.
    # These two projects should be factored out into their own
    # projects.
    buildDumpTool(&quot;DumpRenderTree&quot;);
    buildDumpTool(&quot;WebKitTestRunner&quot;) if $useWebKitTestRunner;

Do we need the same in NRWT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489608</commentid>
    <comment_count>25</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-24 13:56:22 -0700</bug_when>
    <thetext>I suspect that&apos;s exactly the bug, yes.  I&apos;ll move that hack into build-webkittestrunner instead of ORWT/NRWT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489612</commentid>
    <comment_count>26</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-24 13:57:48 -0700</bug_when>
    <thetext>Yep, that&apos;s it. I filed bug 70759.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489614</commentid>
    <comment_count>27</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-24 13:58:23 -0700</bug_when>
    <thetext>(In reply to comment #25)
&gt; I suspect that&apos;s exactly the bug, yes.  I&apos;ll move that hack into build-webkittestrunner instead of ORWT/NRWT.

Filed https://bugs.webkit.org/show_bug.cgi?id=70760.  Will post a patch momentarily.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>111902</attachid>
            <date>2011-10-20 21:58:07 -0700</date>
            <delta_ts>2011-10-20 23:48:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-56729-20111020215806.patch</filename>
            <type>text/plain</type>
            <size>2072</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTgwNDAKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCBjZDhiZTZlNTcxYTI4NjQyODM5OTg3NmEwMmYwZjM4OGQ3
NDJhMDA0Li45M2FkMWVmMTY1ZDhkZGE4MWJlOWYxMzBlMDNiM2RjZmU3YzRjMjY2IDEwMDY0NAot
LS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTkg
QEAKIDIwMTEtMTAtMjAgIEVyaWMgU2VpZGVsICA8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