stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris snow <chsnow...@gmail.com>
Subject Re: commit 522db60 - build error: Method org.testng.internal.ConfigurationMethod.startServer() didn't finish within the time-out 300000
Date Tue, 10 Dec 2013 12:38:47 GMT
Build seems to be working ok now.


On Tue, Dec 10, 2013 at 3:42 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

>
>
>
> On Tue, Dec 10, 2013 at 6:28 AM, chris snow <chsnow123@gmail.com> wrote:
>
>> I'm hitting the following error when running "mvn install"
>>
>> ---
>> startServer(org.apache.stratos.manager.integration.tests.StratosManagerTestServerManager)
>>  Time elapsed: 300.909 sec  <<< FAILURE!
>> org.testng.internal.thread.ThreadTimeoutException: Method
>> org.testng.internal.ConfigurationMethod.startServer() didn't finish within
>> the time-out 300000
>> at java.lang.Thread.sleep(Native Method)
>>  at
>> org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:114)
>> at
>> org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:104)
>>  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)
>>
>> [2013-12-09 23:28:00,965]  INFO
>> {org.wso2.carbon.integration.framework.utils.ServerUtils} -  Shutting down
>> server...
>> ---
>>
>> It looks as if a previous test is starting an instance of stratos (and
>> grabbing the ports) and that instance is not getting closed down:
>>
>
> Yes this could be the reason.  Can we add a sleep just before the second
> test started and let the ports to be free?
>
>>
>> ---
>> snowc    12403  1509  0 Dec09 pts/4    00:00:00 sh bin/stratos.sh
>> -DportOffset=0
>> -Demma.properties=/home/snowc/incubator-stratos/products/stratos-controller/modules/integration/targ
>> snowc    12422 12403  0 Dec09 pts/4    00:00:22
>> /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Xbootclasspath/a: -Xms256m
>> -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError
>> ---
>>
>> Is anyone else running into this issue?
>>
>
> I guess this happens intermittently.
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Mime
View raw message