Ok, hudson looks really neat, but I'm not sure how I can use it.  The
computers that I want to run the tests on are in my basement, but the
computer with the public IP is in New Jersey somewhere, so I'm not
sure how to get the nice Hudson pages to show up on my linode.  The
results of running ant test-all aren't very pretty (results are at the
bottom of the email).  Is this something that would be sent to a
special mailing list, or is Hudson smart enough to see who checked in
the bad code and only send that information to the offender?  Would
that entire log be a web page of its own, or is the failure report
parsed and formatted into something nice to look at?

[EMAIL PROTECTED] ~/src/jruby/jruby $ ant test-all
Buildfile: build.xml

init:

jar:

init:

extract-rdocs:

prepare:

compile-tasks:
     [copy] Copying 1 file to /Users/tsuraan/src/jruby/jruby/build/classes/jruby

compile-annotation-binder:

check-for-optional-java4-packages:

check-for-optional-packages:

compile-jruby:

compile:

generate-method-classes:

_gmc_internal_:

generate-unsafe:

_gu_internal_:

jar-jruby:

_jarjar_internal_:
   [jarjar] Building jar: /Users/tsuraan/src/jruby/jruby/lib/jruby.jar

compile-test:

copy-test-files:

instrument:

test-security-manager:
     [java] Restricted policy looks ok

run-junit-interpreted:
     [echo] compile=OFF, jit.threshold=20, jit.max=-1,
objectspace=true threadpool=false reflection=false version=ruby1_8
    [junit] Testsuite: org.jruby.test.ScriptTestSuite
    [junit] Tests run: 78, Failures: 0, Errors: 0, Time elapsed: 72.575 sec
    [junit]
    [junit] Testsuite: org.jruby.test.BFTSTestSuite
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 3.924 sec
    [junit]
    [junit] Testsuite: org.jruby.test.JRubyTestSuite
    [junit] Failure:
    [junit] test_server_vm_option(TestCommandLineSwitches)
[/Users/tsuraan/src/jruby/jruby/./test/test_command_line_switches.rb:223]:
    [junit] <"hotspot client compiler"> expected to be =~
    [junit] </(tiered|server)/>.
    [junit] )
    [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 89.246 sec
    [junit]
    [junit] Testcase:
test_command_line_switches(org.jruby.test.TestUnitTestSuite$ScriptTest):        
FAILED
    [junit] Faults encountered running
test/test_command_line_switches, complete output follows:
    [junit] Failure:
    [junit] test_server_vm_option(TestCommandLineSwitches)
[/Users/tsuraan/src/jruby/jruby/./test/test_command_line_switches.rb:223]:
    [junit] <"hotspot client compiler"> expected to be =~
    [junit] </(tiered|server)/>.
    [junit]
    [junit] junit.framework.AssertionFailedError: Faults encountered
running test/test_command_line_switches, complete output follows:
    [junit] Failure:
    [junit] test_server_vm_option(TestCommandLineSwitches)
[/Users/tsuraan/src/jruby/jruby/./test/test_command_line_switches.rb:223]:
    [junit] <"hotspot client compiler"> expected to be =~
    [junit] </(tiered|server)/>.
    [junit]
    [junit]     at
org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:206)
    [junit]
    [junit]

BUILD FAILED
/Users/tsuraan/src/jruby/jruby/build.xml:520: The following error
occurred while executing this line:
/Users/tsuraan/src/jruby/jruby/build.xml:610: The following error
occurred while executing this line:
/Users/tsuraan/src/jruby/jruby/build.xml:563: Tests failed

Total time: 4 minutes 21 seconds


On 06/08/2008, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
> tsuraan wrote:
>>> normal test run: clean test
>>> "all" test run: clean test-all
>>> dist run for nightlies: clean test dist
>>> spec run: clean spec
>>
>> Ok, so the idea is that you checkout the jruby subversion, and from
>> there, you do an svn up every so-often (the more often the better, I
>> suppose) and run "ant clean test", or "ant clean test-all" or
>> whatever.  When that is done, how are the results posted to the web?
>> I assume that's the idea, anyhow.  I saw some XML files in the
>> test-results dir.  Is that what would be publicly viewable, or is
>> there some way to format the test results in a pleasant format?
>
> Yep, that's about the size of it. Hudson polls SVN to see if there's
> changes, every 15 minutes, and runs the build targets we've specified
> for it. There's nothing too complicated about it. I've got it wired up
> to send out email, jabber message, and IRC message when there's a
> breakage in any build. The results of each build are available on the
> Hudson pages...you can look at past output from any build. There's not
> really any XML or HTML published for the test results other than the
> output. But of course JUnit, which we use to run most of our tests, does
> have an XML/HTML output format. We could certainly wire that up.
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to