stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akila Ravihansa Perera <raviha...@wso2.com>
Subject Re: Jenkins build became unstable: Stratos-41x-Nightly-Build #2
Date Fri, 04 Sep 2015 09:21:02 GMT
Hi,

I've raised a ticket in ASF Infra regarding this [1]. According to some
previous tickets from different projects, they have made use of "locks" to
resolve conflicts. I'll take remedial actions based on the feedback for
this ticket.

[1] https://issues.apache.org/jira/browse/INFRA-10254

Thanks.


On Fri, Sep 4, 2015 at 1:01 PM, Imesh Gunaratne <imesh@apache.org> wrote:

> This could be caused by other product builds that run on the same Jenkins
> node. It might not need to be stratos.
>
> I think we might need to select a available port (may be one for activemq
> and another for stratos) in the runtime and update all the configurations
> and artifacts accordingly.
>
> On Fri, Sep 4, 2015 at 11:01 AM, Gayan Gunarathne <gayang@wso2.com> wrote:
>
>> Or we may need to configure two different port sets for two branches.
>>
>> Thanks,
>> Gayan
>>
>> On Fri, Sep 4, 2015 at 10:54 AM, Gayan Gunarathne <gayang@wso2.com>
>> wrote:
>>
>>> Seems like two builds running at the same time.When executing the Master
>>> and Stratos 4.1.x integration test at the same time seems build couldn't
>>> start the activemq as it is already started. We may need to schedule
>>> nightly build for this two branches in different time slots. WDYT?
>>>
>>>
>>> startServer(org.apache.stratos.integration.tests.application.GroupTerminationBehaviorTest)
 Time elapsed: 1.228 sec  <<< FAILURE!
>>> org.testng.internal.thread.ThreadExecutionException: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not start ActiveMQ
>>> 	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:295)
>>> 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
>>> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
>>> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
>>> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
>>> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>>> Caused by: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.RuntimeException:
Could not start ActiveMQ
>>> 	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$Sync.innerRun(FutureTask.java:334)
>>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>> 	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:724)
>>> Caused by: java.lang.RuntimeException: Could not start ActiveMQ
>>> 	at org.apache.stratos.integration.tests.StratosTestServerManager.startServer(StratosTestServerManager.java:148)
>>> 	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)
>>> 	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
>>> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>> 	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:724)
>>> Caused by: java.io.IOException: Failed to bind to server socket: tcp://localhost:61617
due to: java.net.BindException: Address already in use
>>> 	at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
>>> 	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)
>>> 	at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)
>>> 	at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)
>>> 	at org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:2327)
>>> 	at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:316)
>>> 	at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:306)
>>> 	at org.apache.stratos.integration.tests.StratosTestServerManager.startServer(StratosTestServerManager.java:142)
>>> 	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)
>>> 	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
>>> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>> 	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:724)
>>> Caused by: java.net.BindException: Address already in use
>>> 	at java.net.PlainSocketImpl.socketBind(Native Method)
>>> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
>>> 	at java.net.ServerSocket.bind(ServerSocket.java:376)
>>> 	at java.net.ServerSocket.<init>(ServerSocket.java:237)
>>> 	at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231)
>>> 	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:132)
>>> 	at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)
>>> 	at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)
>>> 	at org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:2327)
>>> 	at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:316)
>>> 	at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:306)
>>> 	at org.apache.stratos.integration.tests.StratosTestServerManager.startServer(StratosTestServerManager.java:142)
>>> 	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)
>>> 	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
>>> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>> 	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:724)
>>>
>>>
>>>
>>> Thanks,
>>> Gayan
>>>
>>>
>>> On Fri, Sep 4, 2015 at 7:29 AM, Apache Jenkins Server <
>>> jenkins@builds.apache.org> wrote:
>>>
>>>> See <https://builds.apache.org/job/Stratos-41x-Nightly-Build/2/changes>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Gayan Gunarathne
>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>> Committer & PMC Member, Apache Stratos
>>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>
>>
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Mime
View raw message