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-Commit-Build #73
Date Thu, 08 Oct 2015 08:52:29 GMT
Thanks, Reka!

These intermittent failures have been troubling us for some time. Really
appreciate your help.

On Thu, Oct 8, 2015 at 2:10 PM, Reka Thirunavukkarasu <reka@wso2.com> wrote:

> Hi Akila,
>
> I found below NPE while starting group monitors for Group startup order
> test case. I will check on this further to identify the usecase of it.
>
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,254] DEBUG {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder}
-  Handling Group instance creation for the [group]: my-group9-group-startup-order-test in
the [application] group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,254]  INFO {org.apache.stratos.autoscaler.monitor.component.GroupMonitor}
-  Starting the dependencies for the [Group] my-group9-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,254]  WARN {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder}
-  Group Instance Context already exists: [group-id] my-group9-group-startup-order-test [Group-Instance-Id]
group-startup-order-test-1
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255] DEBUG {org.apache.stratos.autoscaler.applications.ApplicationHolder}
-  Write lock released
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  Starting dependent monitor: [application] group-startup-order-test [component] group-startup-order-test.my-tomcat1-group9-group-startup-order-test.tomcat1-group-startup-order-test.domain
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  Monitor scheduled: [type] cluster [component] group-startup-order-test.my-tomcat1-group9-group-startup-order-test.tomcat1-group-startup-order-test.domain
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,260] DEBUG {org.apache.stratos.cloud.controller.messaging.topology.TopologyManager}
-  Write lock released
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255] ERROR {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  An error occurred while starting monitor: [type] group [component] my-group9-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- java.lang.NullPointerException
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.Monitor.addInstance(Monitor.java:149)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.GroupMonitor.createGroupInstanceAndAddToMonitor(GroupMonitor.java:816)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.GroupMonitor.createInstanceAndStartDependencyAtStartup(GroupMonitor.java:898)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.MonitorFactory.getGroupMonitor(MonitorFactory.java:161)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.MonitorFactory.getMonitor(MonitorFactory.java:81)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor$MonitorAdder.run(ParentComponentMonitor.java:1001)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.lang.Thread.run(Thread.java:724)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  Starting monitor: [type] cluster [component] group-startup-order-test.my-tomcat1-group9-group-startup-order-test.tomcat1-group-startup-order-test.domain
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,255] DEBUG {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder}
-  Handling Group instance creation for the [group]: my-group7-group-startup-order-test in
the [application] group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,261] DEBUG {org.apache.stratos.autoscaler.monitor.component.GroupMonitor}
-  Group monitor is running: [group] my-group9-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,261]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  Monitor started successfully: [type] group [component] my-group9-group-startup-order-test
[dependents] none [startup-time] 0 seconds
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,260] DEBUG {org.apache.stratos.cloud.controller.registry.RegistryManager}
-  Persisting resource in registry: [resource-path] /cloud.controller/data
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,261]  WARN {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder}
-  Group Instance Context already exists: [group-id] my-group7-group-startup-order-test [Group-Instance-Id]
group-startup-order-test-1
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,262] DEBUG {org.apache.stratos.autoscaler.applications.ApplicationHolder}
-  Write lock released
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,262] ERROR {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  An error occurred while starting monitor: [type] group [component] my-group7-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- java.lang.NullPointerException
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.Monitor.addInstance(Monitor.java:149)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.GroupMonitor.createGroupInstanceAndAddToMonitor(GroupMonitor.java:816)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.GroupMonitor.createInstanceAndStartDependencyAtStartup(GroupMonitor.java:898)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.MonitorFactory.getGroupMonitor(MonitorFactory.java:161)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.MonitorFactory.getMonitor(MonitorFactory.java:81)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor$MonitorAdder.run(ParentComponentMonitor.java:1001)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- 	at java.lang.Thread.run(Thread.java:724)
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,266] DEBUG {org.apache.stratos.cloud.controller.registry.RegistryManager}
-  Resource persisted successfully in registry: [resource-path] /cloud.controller/data
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,266] DEBUG {org.apache.stratos.cloud.controller.messaging.topology.TopologyManager}
-  Write lock acquired
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,266] DEBUG {org.apache.stratos.cloud.controller.messaging.topology.TopologyManager}
-  Updating topology
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,266] DEBUG {org.apache.stratos.cloud.controller.registry.RegistryManager}
-  Persisting resource in registry: [resource-path] /cloud.controller/topology
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,267] DEBUG {org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor}
-  Cluster instance created: [application-id] group-startup-order-test [service-name] tomcat-group-startup-order-test
[cluster-id] group-startup-order-test.my-tomcat-group8-group-startup-order-test.tomcat-group-startup-order-test.domain
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,267]  INFO {org.apache.stratos.autoscaler.monitor.MonitorFactory} -
 ClusterMonitor created: org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor@e2b2c2eb
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,268]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor}
-  Monitor started successfully: [type] cluster [component] group-startup-order-test.my-tomcat-group8-group-startup-order-test.tomcat-group-startup-order-test.domain
[dependents] none [startup-time] 0 seconds
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,271] DEBUG {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
-  Partition validation cache hit for cartridge type: tomcat2-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,271] DEBUG {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
-  Deployment policy validation started for cartridge type: tomcat2-group-startup-order-test
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,271]  INFO {org.apache.stratos.cloud.controller.context.CloudControllerContext}
-  Partition map updated for the Cartridge: tomcat2-group-startup-order-test. Current Partition
List: [partition-1]
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,272] DEBUG {org.apache.stratos.cloud.controller.registry.RegistryManager}
-  Resource persisted successfully in registry: [resource-path] /cloud.controller/topology
> 2015-10-07 14:15:58 INFO  {org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader}:70
- [2015-10-07 14:15:58,272] DEBUG {org.apache.stratos.cloud.controller.registry.RegistryManager}
-  Persisting resource in registry: [resource-path] /cloud.controller/data
>
> Thanks,
> Reka
>
> On Thu, Oct 8, 2015 at 1:27 PM, Reka Thirunavukkarasu <reka@wso2.com>
> wrote:
>
>> Hi Akila,
>>
>> Sure..Will have a look on it..
>>
>> Thanks,
>> Reka
>>
>> On Thu, Oct 8, 2015 at 1:17 PM, Akila Ravihansa Perera <
>> ravihansa@wso2.com> wrote:
>>
>>> Hi Reka,
>>>
>>> It seems GroupStartupOrderTestCase, ApplicationBurstingTestCase
>>> and SampleApplicationsTestCase are failing intermittently even after
>>> increasing the assertion timeouts. Will you be able to have a look?
>>>
>>> Thanks.
>>>
>>> On Wed, Oct 7, 2015 at 8:07 PM, Apache Jenkins Server <
>>> jenkins@builds.apache.org> wrote:
>>>
>>>> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/73/changes>
>>>>
>>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


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

Blog: http://ravihansa3000.blogspot.com

Mime
View raw message