Hi Krishantha,

I am getting the following error while trying to run Jaggery integration
tests after enabling code coverage feature.(<coverage>true</coverage>).
(Note that I have already updated filters.txt and instrumentation.txt file
with the latest entries for jaggery). However I am still getting this
exception. Seems like after instrumentation of jars only we are getting
this error. How can we fix this?

[2014-07-17 15:48:15,134]  INFO
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
UserStoreMgtDSComponent activated successfully.

[2014-07-17 15:49:57,321]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-07-17 15:49:57,322]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.jaggeryjs.jaggery.app.mgt-0.9.0.SNAPSHOT
[2014-07-17 15:50:57,321]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-07-17 15:50:57,321]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.jaggeryjs.jaggery.app.mgt-0.9.0.SNAPSHOT
[2014-07-17 15:51:57,322]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-07-17 15:51:57,322]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.jaggeryjs.jaggery.app.mgt-0.9.0.SNAPSHOT
[2014-07-17 15:52:57,321]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-07-17 15:52:57,321]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.jaggeryjs.jaggery.app.mgt-0.9.0.SNAPSHOT
Fail to start carbon server
java.lang.RuntimeException: Port 9763 is not open
at
org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
at
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
at
org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
at
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
at
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
at org.testng.TestNG.run(TestNG.java:983)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)Jaggery
integration test module - Code coverage <coverage>true</coverage> Exception

Regards
-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to