This is because of Login request  from test framework failed. Can you
please check the server startup and login manually. and also please check
the username and password in userList.csv in tests directory.  if those are
correct we need to debug the authentication service call in Test framework.

Thanks,
Nuwanw


On Sat, Oct 5, 2013 at 10:26 AM, Sanjeewa Malalgoda <[email protected]>wrote:

> Getting same in ESB 4.8.0 as well.
>
> Thanks,
> sanjeewa.
>
>
> On Sat, Oct 5, 2013 at 9:57 AM, Sanjeewa Malalgoda <[email protected]>wrote:
>
>> Hi,
>> Following error is getting when we build api manager with tests we are
>> seeing similar issue in CEP as well. Any idea about this issue?
>>
>> Thanks,
>> sanjeewa.
>>
>>
>> [2013-10-05 04:19:19,456]  INFO
>> {org.wso2.carbon.automation.core.utils.ClientConnectionUtil} -
>>  Successfully connected to the server on port 9443
>> org.apache.maven.surefire.util.SurefireReflectionException:
>> java.lang.reflect.InvocationTargetException; nested exception is
>> java.lang.reflect.InvocationTargetException: null
>> java.lang.reflect.InvocationTargetException
>> 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: java.lang.RuntimeException: Could not login to Carbon server
>> within 180000ms. port=9443
>>  at
>> org.wso2.carbon.automation.core.utils.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:66)
>> at
>> org.wso2.carbon.automation.core.utils.serverutils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:143)
>>  at
>> org.wso2.carbon.automation.core.ServerGroupManager.startServer(ServerGroupManager.java:92)
>> at
>> org.wso2.carbon.automation.core.ServerGroupManager.startServersForBuilder(ServerGroupManager.java:98)
>>  at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:187)
>> at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.onExecutionStart(PlatformExecutionManager.java:76)
>>  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:178)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>>  at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>> ... 9 more
>> [2013-10-05 04:19:21,501]  INFO
>> {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
>> down server..
>>
>> Results :
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 API Manager - Styles ......................... SUCCESS
>> [2.582s]
>> [INFO] WSO2 Stratos  API Manager - UI styles ............. SUCCESS
>> [1.817s]
>> [INFO] WSO2 API Manager - Styles Parent .................. SUCCESS
>> [0.108s]
>> [INFO] WSO2 Stratos  API Manager - Dashboard UI .......... SUCCESS
>> [2.424s]
>> [INFO] WSO2 AM - Login User Interface .................... SUCCESS
>> [1.000s]
>> [INFO] WSO2 API Manager - Styles Features ................ SUCCESS
>> [0.457s]
>> [INFO] WSO2 API Manager - Features Aggregator Module ..... SUCCESS
>> [0.088s]
>> [INFO] WSO2 Stratos  API Manager - Style Features ........ SUCCESS
>> [0.147s]
>> [INFO] WSO2 Stratos  API Manager - Utils Features ........ SUCCESS
>> [1.599s]
>> [INFO] WSO2 Stratos  API Manager - Dashboard UI Features . SUCCESS
>> [0.493s]
>> [INFO] WSO2 Stratos  API Manager - Deployment Features ... SUCCESS
>> [0.132s]
>> [INFO] WSO2 Stratos  API Manager - Features Aggregator Module  SUCCESS
>> [0.013s]
>> [INFO] WSO2 API Manager - Features Parent ................ SUCCESS
>> [0.445s]
>> [INFO] WSO2 API Manager - P2 Profile Generation .......... SUCCESS
>> [12:23.457s]
>> [INFO] WSO2 API Manager - P2 Profile Generation Parent ... SUCCESS
>> [0.109s]
>> [INFO] WSO2 API Manager - BAM Toolbox .................... SUCCESS
>> [0.505s]
>> [INFO] WSO2 API Manager - Distribution ................... SUCCESS
>> [1:48.861s]
>> [INFO] WSO2 API Manager - Distribution Parent ............ SUCCESS
>> [0.075s]
>> [INFO] WSO2 API Manager - Integration Test Module ........ FAILURE
>> [4:33.779s]
>> [INFO] WSO2 API Manager - Integration UI Test Module ..... SKIPPED
>> [INFO] WSO2 API Manager - Integration Tests .............. SKIPPED
>> [INFO] WSO2 API Manager - Aggregator Module .............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 18:59.473s
>> [INFO] Finished at: Sat Oct 05 04:19:21 UTC 2013
>> [INFO] Final Memory: 90M/755M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
>> on project org.wso2.carbon.am.integration.test: Execution default-test of
>> goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The
>> forked VM terminated without saying properly goodbye. VM crash or
>> System.exit called ? -> [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/PluginExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :org.wso2.carbon.am.integration.test
>>
>>
>> --
>> *
>> *
>> *Sanjeewa Malalgoda*
>> Senior Software Engineer
>> WSO2 Inc.
>> Mobile : +94713068779
>>
>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>
>>
>>
>
>
> --
> *
> *
> *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
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to