<?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>36078</bug_id>
          
          <creation_ts>2010-03-12 17:06:47 -0800</creation_ts>
          <short_desc>new-run-webkit-tests fails java/lc3 on a clean checkout</short_desc>
          <delta_ts>2010-03-29 15:21:05 -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>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="Eric Seidel (no email)">eric</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>cjerdonek</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>199257</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-12 17:06:47 -0800</bug_when>
    <thetext>Apparently someone recently introduced a java class for some tests and run-webkit-tests compiles this class as part of the test setup, but new-run-webkit-tests does not. So, all of the tests under java/lc3 will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199306</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-03-12 22:45:09 -0800</bug_when>
    <thetext>Do only java/lc3 tests fail? Other ones in java directory also need to compile java sources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204707</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 12:16:39 -0700</bug_when>
    <thetext>I ran new-run-webkit-tests again last night.  Wow.  Very impressive.

But I ran into this bug.

if (isAppleMacWebKit()) {
    print STDERR &quot;Compiling Java tests\n&quot;;
    my $javaTestsDirectory = catdir($testDirectory, &quot;java&quot;);

    if (system(&quot;/usr/bin/make&quot;, &quot;-C&quot;, &quot;$javaTestsDirectory&quot;)) {
        exit 1;
    }
}

Seems to be the perl code used for the fix.  I&apos;ll prepare a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204743</commentid>
    <comment_count>3</comment_count>
      <attachid>51774</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 13:12:32 -0700</bug_when>
    <thetext>Created attachment 51774
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204744</commentid>
    <comment_count>4</comment_count>
      <attachid>51774</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 13:13:27 -0700</bug_when>
    <thetext>Comment on attachment 51774
Patch

I did not do a full new-run-webkit-tests run with this change.  My laptop takes an hour to build webkit.  I did however verify that the build part seems to be working. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204746</commentid>
    <comment_count>5</comment_count>
      <attachid>51774</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-26 13:16:57 -0700</bug_when>
    <thetext>Comment on attachment 51774
Patch

LGTM (although I&apos;m not a reviewer).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204750</commentid>
    <comment_count>6</comment_count>
      <attachid>51774</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-03-26 13:23:02 -0700</bug_when>
    <thetext>Comment on attachment 51774
Patch

ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204754</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-03-26 13:29:03 -0700</bug_when>
    <thetext>You didn&apos;t port this though:

    print STDERR &quot;Compiling Java tests\n&quot;;

Does new-run-webkit-tests build quietly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204761</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-26 13:35:40 -0700</bug_when>
    <thetext>new-run-webkit-tests in its default mode does everything quietly.  (Using one line which overwrites itself until it finally spits out results.)  I expect we&apos;ll eventually customize the logging to the greater webkit&apos;s whims and desires. :)

I don&apos;t know enough about all the various logging modes to know how to spit that part out in only the right modes.

Dirk would know more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204768</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-26 14:00:33 -0700</bug_when>
    <thetext>new-run-webkit-tests uses the &quot;MeteredStream&quot; class to provide the one-line status updates. The Port class doesn&apos;t actually get passed the handle to the meter, but it would be a good enhancement if it did.

I&apos;ll add that and add separate lines for the build steps in a different patch.

The general rule of thumbs I&apos;m trying to follow for output are:

(1) By default, if everything works, we produce one line of output (&quot;all tests completed successfully&quot;)

(2) Status updates are provided for every step that takes more than a second or two to run (so that you at least know what stage we&apos;re in). Only the current stage is displayed.

(3) Where possible, long-running stages actually produce a progress-bar style update (which is what meter.update() implements), so that you can tell that things aren&apos;t hung. Where possible, updates happen every few seconds or more frequently, up to ~10 times per second for a smooth animation). Currently only the actual running of the tests does this.
 
(I should probably document some of this stuff somewhere ...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204928</commentid>
    <comment_count>10</comment_count>
      <attachid>51774</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-03-26 21:13:12 -0700</bug_when>
    <thetext>Comment on attachment 51774
Patch

Rejecting patch 51774 from commit-queue.

Failed to run &quot;[&apos;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/svn-apply&apos;, &apos;--reviewer&apos;, &apos;Adam Barth&apos;, &apos;--force&apos;]&quot; exit_code: 1
patching file WebKitTools/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py
Hunk #1 succeeded at 77 (offset 1 line).
Hunk #2 FAILED at 85.
1 out of 2 hunks FAILED -- saving rejects to file WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py.rej

Full output: http://webkit-commit-queue.appspot.com/results/1578005</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205576</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-29 11:39:47 -0700</bug_when>
    <thetext>Attachment 51774 was posted by a committer and has review+, assigning to Eric Seidel for commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205692</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-29 15:21:05 -0700</bug_when>
    <thetext>Committed r56743: &lt;http://trac.webkit.org/changeset/56743&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>51774</attachid>
            <date>2010-03-26 13:12:32 -0700</date>
            <delta_ts>2010-03-26 21:13:12 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-36078-20100326131230.patch</filename>
            <type>text/plain</type>
            <size>2001</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCBiZDBkZDMyLi42ZTM0ZGMwIDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkB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XJuX2V4aXRfY29kZT1UcnVlKToKKyAgICAgICAgICAgIHJldHVybiBGYWxzZQorCiAgICAgICAg
ICMgVGhpcyBzaG91bGQgYWxzbyB2YWxpZGF0ZSB0aGF0IHRoZSBJbWFnZURpZmYgcGF0aCBpcyB2
YWxpZAogICAgICAgICAjIChvbmNlIHRoaXMgc2NyaXB0IGtub3dzIGhvdyB0byB1c2UgSW1hZ2VE
aWZmKS4KICAgICAgICAgIyBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9
MzQ4MjYK
</data>
<flag name="review"
          id="35115"
          type_id="1"
          status="+"
          setter="abarth"
    />
    <flag name="commit-queue"
          id="35116"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
      

    </bug>

</bugzilla>