Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-12-05 Thread Nandika Jayawardana
Hi Asanka,

What are you server configurations. Did you change any config such as db
urls ports ect.

Regards
Nandika

On Fri, Dec 5, 2014 at 12:21 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 I also observed BPS server 3.2.0 not starting properly with below WARNs.
 After rebooting the machine i was able to start the server properly.
 Do we have any explanation why we are getting this issue on BPS?

 [2014-12-05 06:24:57,758]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 [2014-12-05 06:24:57,759]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 [2014-12-05 06:24:57,759]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 [2014-12-05 06:25:57,758]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 [2014-12-05 06:25:57,758]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 [2014-12-05 06:25:57,759]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService



 On Tue, Aug 5, 2014 at 6:47 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 We have not encountered such an issue in past releases. So we need to
 figure out why server failed to start after one server start.

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 6:37 PM, Milinda Perera milin...@wso2.com wrote:

 [Some Additions to Gayashan's reply]

 After Build failure occurred we cannot start any BPS server (Build
 succeeded server also) on the PC without restarting.

 Thanks,
 Milinda


 On Tue, Aug 5, 2014 at 6:10 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi Nuwan,

 As you've mentioned i could not start the server because it kept
 waiting for Waiting for required OSGi Service:
 org.wso2.carbon.bpel.core.BPELEngineService. However as adviced by Milinda
 once i restart my computer, the server started working.

 With this restart i was able to get the WSO2 Business Process Server
 Integration Tests - BPEL tests completed. But again, it got failed with
 the same issue on the next set of tests, WSO2 Business Process Server
 Integration Tests - HumanTask.

 So is this caused by BPS server shutdown not being able to release some
 resources?

 Thanks.

 /Gayashan


 On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 HI
 Carbon server does not expose the http port and server have not
 started properly. So can you please verify whether the  server is stating
 properly by starting it manually. You can find the distribution inside
 the module/distribution/target directory.

 As the logs ,  BPELEngineService got failed to deploy. Probably this
 could be the reason.

 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
 BPELEngineService
 Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
 common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
 HumanTaskEngineService

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS
 repo. What is the reason for not being able to bind to port 9763?

 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
 is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
 is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 

Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-12-04 Thread Asanka Vithanage
Hi All,

I also observed BPS server 3.2.0 not starting properly with below WARNs.
After rebooting the machine i was able to start the server properly.
Do we have any explanation why we are getting this issue on BPS?

[2014-12-05 06:24:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-12-05 06:24:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
[2014-12-05 06:24:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
[2014-12-05 06:25:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
[2014-12-05 06:25:57,758]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
[2014-12-05 06:25:57,759]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService



On Tue, Aug 5, 2014 at 6:47 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 We have not encountered such an issue in past releases. So we need to
 figure out why server failed to start after one server start.

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 6:37 PM, Milinda Perera milin...@wso2.com wrote:

 [Some Additions to Gayashan's reply]

 After Build failure occurred we cannot start any BPS server (Build
 succeeded server also) on the PC without restarting.

 Thanks,
 Milinda


 On Tue, Aug 5, 2014 at 6:10 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi Nuwan,

 As you've mentioned i could not start the server because it kept waiting
 for Waiting for required OSGi Service:
 org.wso2.carbon.bpel.core.BPELEngineService. However as adviced by Milinda
 once i restart my computer, the server started working.

 With this restart i was able to get the WSO2 Business Process Server
 Integration Tests - BPEL tests completed. But again, it got failed with
 the same issue on the next set of tests, WSO2 Business Process Server
 Integration Tests - HumanTask.

 So is this caused by BPS server shutdown not being able to release some
 resources?

 Thanks.

 /Gayashan


 On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 HI
 Carbon server does not expose the http port and server have not started
 properly. So can you please verify whether the  server is stating properly
 by starting it manually. You can find the distribution inside the
 module/distribution/target directory.

 As the logs ,  BPELEngineService got failed to deploy. Probably this
 could be the reason.

 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
 BPELEngineService
 Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
 common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
 HumanTaskEngineService

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe gayas...@wso2.com
  wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS
 repo. What is the reason for not being able to bind to port 9763?

 ​Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
 is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
 is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: 

[Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-08-05 Thread Gayashan Amarasinghe
Hi BPS team/Test automation team,

I am getting the following integration test failures on wso2-dev BPS repo.
What is the reason for not being able to bind to port 9763?

​Aug 5, 2014 3:06:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:06:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
Aug 5, 2014 3:06:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:06:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
Aug 5, 2014 3:06:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:06:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
Aug 5, 2014 3:07:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:07:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
Aug 5, 2014 3:07:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:07:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
Aug 5, 2014 3:07:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
INFO: [2014-08-05 15:07:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
Aug 5, 2014 3:08:37 PM
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
handleException
SEVERE: Fail to start carbon server
java.lang.RuntimeException: Port 9763 is not open
at
org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
at
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
at
org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
at
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
at
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
at org.testng.TestNG.run(TestNG.java:1015)
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)
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)
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

Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-08-05 Thread Nuwan Wimalasekara
HI
Carbon server does not expose the http port and server have not started
properly. So can you please verify whether the  server is stating properly
by starting it manually. You can find the distribution inside the
module/distribution/target directory.

As the logs ,  BPELEngineService got failed to deploy. Probably this could
be the reason.

INFO: [2014-08-05 15:07:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager}
-  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
BPELEngineService
Aug 5, 2014 3:07:49 PM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader
run
INFO: [2014-08-05 15:07:49,805]  WARN
{org.wso2.carbon.core.init.CarbonServerManager}
-  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
HumanTaskEngineService

Thanks,
Nuwanw


On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS repo.
 What is the reason for not being able to bind to port 9763?

 ​Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:08:37 PM
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
 handleException
 SEVERE: Fail to start carbon server
 java.lang.RuntimeException: Port 9763 is not open
 at
 org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
 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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
 at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
 at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
 at org.testng.TestNG.run(TestNG.java:1015)
 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)
 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
 

Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-08-05 Thread Gayashan Amarasinghe
Hi Nuwan,

As you've mentioned i could not start the server because it kept waiting
for Waiting for required OSGi Service:
org.wso2.carbon.bpel.core.BPELEngineService. However as adviced by Milinda
once i restart my computer, the server started working.

With this restart i was able to get the WSO2 Business Process Server
Integration Tests - BPEL tests completed. But again, it got failed with
the same issue on the next set of tests, WSO2 Business Process Server
Integration Tests - HumanTask.

So is this caused by BPS server shutdown not being able to release some
resources?

Thanks.

/Gayashan


On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 HI
 Carbon server does not expose the http port and server have not started
 properly. So can you please verify whether the  server is stating properly
 by starting it manually. You can find the distribution inside the
 module/distribution/target directory.

 As the logs ,  BPELEngineService got failed to deploy. Probably this
 could be the reason.

 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
 BPELEngineService
 Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
 common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
 HumanTaskEngineService

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS
 repo. What is the reason for not being able to bind to port 9763?

 ​Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:08:37 PM
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
 handleException
 SEVERE: Fail to start carbon server
 java.lang.RuntimeException: Port 9763 is not open
 at
 org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
 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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
 at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
 at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
 at org.testng.TestNG.run(TestNG.java:1015)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 

Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-08-05 Thread Milinda Perera
[Some Additions to Gayashan's reply]

After Build failure occurred we cannot start any BPS server (Build
succeeded server also) on the PC without restarting.

Thanks,
Milinda


On Tue, Aug 5, 2014 at 6:10 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Hi Nuwan,

 As you've mentioned i could not start the server because it kept waiting
 for Waiting for required OSGi Service:
 org.wso2.carbon.bpel.core.BPELEngineService. However as adviced by Milinda
 once i restart my computer, the server started working.

 With this restart i was able to get the WSO2 Business Process Server
 Integration Tests - BPEL tests completed. But again, it got failed with
 the same issue on the next set of tests, WSO2 Business Process Server
 Integration Tests - HumanTask.

 So is this caused by BPS server shutdown not being able to release some
 resources?

 Thanks.

 /Gayashan


 On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 HI
 Carbon server does not expose the http port and server have not started
 properly. So can you please verify whether the  server is stating properly
 by starting it manually. You can find the distribution inside the
 module/distribution/target directory.

 As the logs ,  BPELEngineService got failed to deploy. Probably this
 could be the reason.

 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
 BPELEngineService
 Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
 common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
 HumanTaskEngineService

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS
 repo. What is the reason for not being able to bind to port 9763?

 ​Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:08:37 PM
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
 handleException
 SEVERE: Fail to start carbon server
 java.lang.RuntimeException: Port 9763 is not open
 at
 org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
 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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73)
 at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
 at 

Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-08-05 Thread Nuwan Wimalasekara
We have not encountered such an issue in past releases. So we need to
figure out why server failed to start after one server start.

Thanks,
Nuwanw


On Tue, Aug 5, 2014 at 6:37 PM, Milinda Perera milin...@wso2.com wrote:

 [Some Additions to Gayashan's reply]

 After Build failure occurred we cannot start any BPS server (Build
 succeeded server also) on the PC without restarting.

 Thanks,
 Milinda


 On Tue, Aug 5, 2014 at 6:10 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi Nuwan,

 As you've mentioned i could not start the server because it kept waiting
 for Waiting for required OSGi Service:
 org.wso2.carbon.bpel.core.BPELEngineService. However as adviced by Milinda
 once i restart my computer, the server started working.

 With this restart i was able to get the WSO2 Business Process Server
 Integration Tests - BPEL tests completed. But again, it got failed with
 the same issue on the next set of tests, WSO2 Business Process Server
 Integration Tests - HumanTask.

 So is this caused by BPS server shutdown not being able to release some
 resources?

 Thanks.

 /Gayashan


 On Tue, Aug 5, 2014 at 4:58 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 HI
 Carbon server does not expose the http port and server have not started
 properly. So can you please verify whether the  server is stating properly
 by starting it manually. You can find the distribution inside the
 module/distribution/target directory.

 As the logs ,  BPELEngineService got failed to deploy. Probably this
 could be the reason.

 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.bpel.core.
 BPELEngineService
 Aug 5, 2014 3:07:49 PM org.wso2.carbon.integration.
 common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN 
 {org.wso2.carbon.core.init.CarbonServerManager}
 -  Waiting for required OSGi Service: org.wso2.carbon.humantask.core.
 HumanTaskEngineService

 Thanks,
 Nuwanw


 On Tue, Aug 5, 2014 at 4:19 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi BPS team/Test automation team,

 I am getting the following integration test failures on wso2-dev BPS
 repo. What is the reason for not being able to bind to port 9763?

 ​Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:06:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:06:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
 Aug 5, 2014 3:07:49 PM
 org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run
 INFO: [2014-08-05 15:07:49,805]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.wso2.carbon.humantask.core.HumanTaskEngineService
 Aug 5, 2014 3:08:37 PM
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
 handleException
 SEVERE: Fail to start carbon server
 java.lang.RuntimeException: Port 9763 is not open
 at
 org.wso2.carbon.integration.common.utils.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:101)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:134)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
 at
 org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49)
 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