Hi, I also got the same issue with GS integration tests. Increasing the timeout didn't work for me too.
On Mon, Feb 27, 2012 at 4:31 PM, Subash Chaturanga <sub...@wso2.com> wrote: > > > On Mon, Feb 27, 2012 at 3:35 PM, Nirmal Fernando <nir...@wso2.com> wrote: > >> >> >> On Mon, Feb 27, 2012 at 3:26 PM, Subash Chaturanga <sub...@wso2.com>wrote: >> >>> Hi, >>> I am getting GReg integration recent test failures due to "Port 9443 is >>> not open". Happens at server startup in RegistryTestServerManager. >>> >>> Here is the sure fire report log. Any reason for this to happen ? >>> >> >> This happens when it failed to open the port (9443) within the time out >> (60000 ms). >> Increasing it might solve the problem!! >> > I increased the delay 8 times longer than earlier (in ClientConnectionUtil > class in integration framework.). It didn't worked > Not sure what exactly causing this. > > >> >>> >>> >>> Tests run: 270, Failures: 2, Errors: 0, Skipped: 268, Time elapsed: >>> 324.265 sec <<< FAILURE! >>> startServer(org.wso2.carbon.registry.RegistryTestServerManager) Time >>> elapsed: 0 sec <<< FAILURE! >>> org.testng.internal.thread.ThreadExecutionException: >>> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: >>> java.lang.RuntimeException: Port 9443 is not open >>> 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:60) >>> at >>> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:153) >>> at >>> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) >>> at >>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) >>> 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.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) >>> at $Proxy0.invoke(Unknown Source) >>> at >>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) >>> at >>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) >>> Caused by: >>> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: >>> java.lang.RuntimeException: Port 9443 is not open >>> 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: Port 9443 is not open >>> at >>> org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:106) >>> at >>> org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:99) >>> >>> >>> >>> >>> Thanks >>> -- >>> >>> Subash Chaturanga >>> Software Engineer >>> WSO2 Inc. http://wso2.com >>> >>> email - sub...@wso2.com >>> phone - 077 2225922 >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > > Subash Chaturanga > Software Engineer > WSO2 Inc. http://wso2.com > > email - sub...@wso2.com > phone - 077 2225922 > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Achala Aponso Software Engineer; WSO2 Inc.; http://wso2.com, Email: ach...@wso2.com Mobile: +94 (77) 5234925 Blog: http://achala11.blogspot.com/
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev