You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Manula Chathurika Thantriwatte <ma...@wso2.com> on 2013/09/17 10:14:04 UTC
Clean repo build failure in 3.0.0-incubating branch
Hi,
I'm getting following error in clean repo build.
[2013-09-17 13:42:14,246] INFO
{org.apache.axis2.deployment.ModuleDeployer} - Deploying module:
addressing-4.1.0 -
file:/home/manula/.m2/repository/org/wso2/carbon/org.wso2.carbon.addressing/4.1.0/org.wso2.carbon.addressing-4.1.0.jar
[2013-09-17 13:42:16,258] INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} - Waiting to
login to Carbon server...
[2013-09-17 13:42:16,260] INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -
Successfully connected to the server on port 9443
[2013-09-17 13:42:16,279] INFO
{org.apache.axis2.deployment.ModuleDeployer} - Deploying module:
addressing-4.1.0 -
file:/home/manula/.m2/repository/org/wso2/carbon/org.wso2.carbon.addressing/4.1.0/org.wso2.carbon.addressing-4.1.0.jar
[2013-09-17 13:42:16,279] INFO
{org.apache.axis2.deployment.ModuleDeployer} - Deploying module:
addressing-4.1.0 -
file:/home/manula/.m2/repository/org/wso2/carbon/org.wso2.carbon.addressing/4.1.0/org.wso2.carbon.addressing-4.1.0.jar
Tests run: 5, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 62.939 sec
<<< FAILURE!
startServer(org.apache.stratos.manager.integration.tests.StratosManagerTestServerManager)
Time elapsed: 62.909 sec <<< FAILURE!
org.testng.internal.thread.ThreadExecutionException:
org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not login to Carbon server within
60000ms. portOffset=0
at
org.testng.internal.thread.FutureResultAdapter.get(FutureResultAdapter.java:25)
at
org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNewExecutor(MethodInvocationHelper.java:242)
at
org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:200)
at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:528)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
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:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not login to Carbon server within
60000ms. portOffset=0
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:49)
at
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Could not login to Carbon server
within 60000ms. portOffset=0
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:84)
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:50)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:109)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:49)
at
org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:80)
at
org.apache.stratos.manager.integration.tests.StratosManagerTestServerManager.startServer(StratosManagerTestServerManager.java:40)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
... 7 more
Caused by: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not login to Carbon server within
60000ms. portOffset=0
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:49)
at
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Could not login to Carbon server
within 60000ms. portOffset=0
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:84)
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:50)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:109)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:49)
at
org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:80)
at
org.apache.stratos.manager.integration.tests.StratosManagerTestServerManager.startServer(StratosManagerTestServerManager.java:40)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
... 7 more
[2013-09-17 13:42:18,322] INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} - Shutting down
server...
Results :
Failed tests:
startServer(org.apache.stratos.manager.integration.tests.StratosManagerTestServerManager):
org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not login to Carbon server within
60000ms. portOffset=0
Tests run: 5, Failures: 1, Errors: 0, Skipped: 4
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:08.818s
[INFO] Finished at: Tue Sep 17 13:42:18 IST 2013
[INFO] Final Memory: 75M/2474M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
on project integration: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/manula/Projects/apache_stratos/incubator-stratos/products/stratos-controller/modules/integration/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware
email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/