On Mon, Oct 14, 2013 at 6:04 PM, Malaka Silva <[email protected]> wrote:

> Hi Chandana,
>
> This is related to ESBJAVA-2520.
>
> When following run seperately it'll work. But will not work with the batch.
>
> ESBJAVA2464TestCase.java
>
> Can you please check?
>

As explained by Nalin, this is because test case trying to start another
activeMQ instance where another instance is already running. When stopping
the new activeMQ instance a lock condition will occur and hang the process.

To solve this you use the default activeMQ instance which is started by
test framework.



>
> On Mon, Oct 14, 2013 at 3:11 PM, Nalin Chandraratne <[email protected]>wrote:
>
>> Hi Subash,
>>
>> The reason for this is the newly added wrong JMS test case
>> ESBJAVA2464TestCase.java. It tries to setup a JMS broker within the test
>> case while one is already available, hence the failure. Will look in to it.
>>
>> Thanks,
>> Nalin.
>>
>>
>>
>>
>> On Mon, Oct 14, 2013 at 11:38 AM, Subash Chaturanga <[email protected]>wrote:
>>
>>>
>>> Hi ESB team
>>> This happens after about 45mins.
>>> Did you also come across with such recently ? I happened to see this in
>>> the builder machine.
>>>
>>>
>>> [2013-10-14 05:38:07,535]  INFO
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -  On test success..
>>> [2013-10-14 05:38:08,011]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -  waiting 30000
>>> millis for Undeployment Endpoint messageStoreTargetEndpoint
>>> [2013-10-14 05:38:08,043]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>  [2013-10-14 05:38:08,043]  INFO - DeploymentInterceptor Removing Axis2
>>> Service: messageStoreTargetEndpointFormatTestProxy {super-tenant}
>>> [2013-10-14 05:38:08,044]  INFO
>>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
>>> -  Proxy Deleted
>>> [2013-10-14 05:38:08,044]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -  waiting 30000
>>> millis for Proxy undeployment
>>> [2013-10-14 05:38:08,095]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -
>>>  messageStoreTargetEndpointFormatTestProxy Proxy undeployed in 0 millis
>>> [2013-10-14 05:38:08,141]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -  waiting 30000
>>> millis for Undeployment Message Store TargetEndpointTestMessageStore
>>> [2013-10-14 05:38:10,171]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -  waiting 30000
>>> millis for Undeployment Message Processor MessageProcessorTEPT
>>> [2013-10-14 05:38:10,178]  INFO
>>> {org.wso2.carbon.automation.utils.esb.ESBTestCaseUtils} -  Synapse
>>> configuration  unDeployed
>>> [2013-10-14 05:38:10,212]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>  [2013-10-14 05:38:10,212]  INFO - CarbonAuthenticationUtil
>>> '[email protected] [-1234]' logged in at [2013-10-14
>>> 05:38:10,212+0000]
>>> [2013-10-14 05:38:10,214]  INFO
>>> {org.wso2.carbon.automation.api.clients.authenticators.AuthenticatorClient}
>>> -  Login Successful
>>> [2013-10-14 05:38:10,215]  INFO
>>> {org.wso2.carbon.automation.core.utils.jmsbrokerutils.controller.JMSBrokerController}
>>> -  JMSServerController: Preparing to start JMS Broker: localhost
>>> [2013-10-14 05:38:10,215]  INFO
>>> {org.wso2.carbon.automation.core.utils.jmsbrokerutils.controller.JMSBrokerController}
>>> -  activemq-data/testBroker
>>> [2013-10-14 05:38:10,216]  INFO
>>> {org.apache.activemq.broker.BrokerService} -  Using Persistence Adapter:
>>> AMQPersistenceAdapter(/build/branches/platform/products/esb/4.8.0/modules/integration/tests/target/carbontmp1381725711368/wso2esb-4.8.0/activemq-data/testBroker/testBroker)
>>> [2013-10-14 05:38:10,216]  INFO
>>> {org.apache.activemq.broker.BrokerService} -  Using Persistence Adapter:
>>> AMQPersistenceAdapter(/build/branches/platform/products/esb/4.8.0/modules/integration/tests/target/carbontmp1381725711368/wso2esb-4.8.0/activemq-data/testBroker/testBroker)
>>> [2013-10-14 05:38:10,216]  WARN
>>> {org.apache.activemq.store.amq.AMQPersistenceAdapter} -  Waiting to Lock
>>> the Store
>>> /build/branches/platform/products/esb/4.8.0/modules/integration/tests/target/carbontmp1381725711368/wso2esb-4.8.0/activemq-data/testBroker/testBroker
>>> [2013-10-14 05:38:10,216]  WARN
>>> {org.apache.activemq.store.amq.AMQPersistenceAdapter} -  Waiting to Lock
>>> the Store
>>> /build/branches/platform/products/esb/4.8.0/modules/integration/tests/target/carbontmp1381725711368/wso2esb-4.8.0/activemq-data/testBroker/testBroker
>>>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> /subash
>>>
>>> *Subash Chaturanga*
>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>
>>> email: [email protected]
>>> blog:  http://subashsdm.blogspot.com/
>>> twitter: @subash89
>>> phone: +9477 2225922
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nalin Chamara
>> Software Engineer
>> [email protected]
>> +94715614756
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to