Re: Errors Trying to build CruiseControl from sources

Daniel Tihelka <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Organization KKY
Message-ID <[email protected]>
Could you also, please, set debugMode to true in PipedExecBuilderTest.java 
(line 83) and send the output of build?

Dan

On Thursday 08 September 2011 15:37:42 Steve Murphy wrote:
> Hello,
> 
> I’m trying to build CruiseControl from the checked out source code, however
> I’m getting errors when running the main build script (see below).  I’ve
> got the code from this location:
> https://cruisecontrol.svn.sourceforge.net/svnroot/cruisecontrol/trunk/crui
> secontrol
> 
> The versions of my JAVA and ANT are
> Java: 1.6.0_21
> ANT: 1.8.2
> 
> I get the same failure when I execute the cruise\bin\build.bat and the
> cruise\release.bat.
> 
> Thanks,
> Steve
> 
> Here is the error message:
>     [junit] Tests run: 12, Failures: 4, Errors: 0, Time elapsed: 5.063 sec
>     [junit]
>     [junit] Testcase:
> testScript_pipe(net.sourceforge.cruisecontrol.builders.PipedExecBuilderTes
> t):     FAILED [junit] Line 1 expected:<eb 0mi.d
> 8se,vh9g?m,bxg8c87rwqlxzn518xzgne> but was:<null> [junit]
> junit.framework.ComparisonFailure: Line 1 expected:<eb 0mi.d
> 8se,vh9g?m,bxg8c87rwqlxzn518xzgne> but was:<null> [junit]     at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.assertStreams(
> PipedExecBuilderTest.java:828) [junit]     at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.testScript_pip
> e(PipedExecBuilderTest.java:384) [junit]
>     [junit]
>     [junit] Testcase:
> testBuild_correct(net.sourceforge.cruisecontrol.builders.PipedExecBuilderT
> est):   FAILED [junit] error attribute was found in build log!
>     [junit] junit.framework.AssertionFailedError: error attribute was found
> in build log! [junit]     at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.testBuild_corr
> ect(PipedExecBuilderTest.java:479) [junit]
>     [junit]
>     [junit] Testcase:
> testBuild_timeout(net.sourceforge.cruisecontrol.builders.PipedExecBuilderT
> est):   FAILED [junit] unexpected error message is returned
> expected:<re[gex[build timeout.*]]> but was:<re[turn code is 1]> [junit]
> junit.framework.ComparisonFailure: unexpected error message is returned
> expected:<re[gex[build timeout.*]]> but was:<re[turn code is 1]> [junit]  
>   at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.assertRegex(Pi
> pedExecBuilderTest.java:850) [junit]     at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.testBuild_time
> out(PipedExecBuilderTest.java:641) [junit]
>     [junit]
>     [junit] Testcase:
> testBuild_stdinClose(net.sourceforge.cruisecontrol.builders.PipedExecBuild
> erTest):        FAILED [junit] error attribute was found in build log!
>     [junit] junit.framework.AssertionFailedError: error attribute was found
> in build log! [junit]     at
> net.sourceforge.cruisecontrol.builders.PipedExecBuilderTest.testBuild_stdi
> nClose(PipedExecBuilderTest.java:679) [junit]
>     [junit]
> 
> BUILD FAILED
> C:\cruise\build.xml:35: The following error occurred while executing this
> line: C:\cruise\.ant-scripts\build-test.xml:82: Tests failed
> 
> Total time: 1 minute 54 seconds

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEABECAAYFAk5o0FEACgkQuYlVhxo/P1EV/QCeOl8/G06Fk2atjRPyvlzYueSW
iKYAoJO47EFThzfM8w4srAksyY/nODtk
=0YGF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.