Hi Team,
I got following error on builder machine while build product(greg) with
tests (yesterday). It seems we are trying to execute ant command while
running tests. Is this correct behavior? Do we need to install ant in the
system or should we use ant jar to run this?



[2013-09-22 05:12:10,791]  INFO
{org.wso2.carbon.automation.core.PlatformReportManager} -
 
----/home/wso2/4.2.0_branch/platform/products/greg/4.6.0/modules/integration/tcks/cmis-tck/target/surefire-reports/GregTestSuite---------
[2013-09-22 05:12:10,792]  INFO
{org.wso2.carbon.automation.core.PlatformReportManager} -
 
----/home/wso2/4.2.0_branch/platform/products/greg/4.6.0/modules/integration/tcks/cmis-tck/target/surefire-reports/GregTestSuite---------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 215.274 sec
<<< FAILURE!
runTckTest(org.wso2.carbon.registry.tck.cmis.CMISTck)  Time elapsed: 0.005
sec  <<< FAILURE!
java.io.IOException: Cannot run program "ant": java.io.IOException:
error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest(CMISTck.java:86)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file
or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 37 more

[2013-09-22 05:12:11,223]  INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
down server..

Results :

Failed tests:   runTckTest(org.wso2.carbon.registry.tck.cmis.CMISTck):
Cannot run program "ant": java.io.IOException: error=2, No such file or
directory

Tests run: 3, Failures: 1, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]


Thanks,
sanjeewa.
-- 
*
*
*Sanjeewa Malalgoda*
Senior Software Engineer
WSO2 Inc.
Mobile : +94713068779

 <http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to