Hi All,

I have started to build the stratos Mock with a all new .m2 repository and
works with the latest pull. I got this exception while building the
integration test.

Tests run: 4, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 32.746 sec
<<< FAILURE!
startServer(org.apache.stratos.integration.tests.SampleApplicationsTest)
 Time elapsed: 32.669 sec  <<< FAILURE!
org.testng.internal.thread.ThreadExecutionException:
org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.AssertionError: Login failed!
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:77)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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.AssertionError: Login failed!
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:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AssertionError: Login failed!
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:110)
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:79)
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:63)
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:67)
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.apache.stratos.integration.tests.StratosTestServerManager.startServer(StratosTestServerManager.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
... 6 more
Caused by: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.AssertionError: Login failed!
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:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AssertionError: Login failed!
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:110)
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:79)
at
org.wso2.carbon.integration.framework.LoginLogoutUtil.login(LoginLogoutUtil.java:63)
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:67)
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.apache.stratos.integration.tests.StratosTestServerManager.startServer(StratosTestServerManager.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
... 6 more


Any help really appreciated.


Thank You!
Best Regards,
Ashan

Reply via email to