Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109536

Elastic Cluster NullPointerException failed to collect data in ClusteringConfigs#StartupJDBCPING

    Details

    • Story Points:
      5
    • Fix Priority:
      4

      Description

       

      Testray
      Poshi
      Jenkins

           [echo] [2020-02-28T11:56:44,821][INFO ][o.e.n.Node               ] [qASdWCp] started
           [echo] [2020-02-28T11:56:47,713][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [qASdWCp] Failed to clear cache for realms [[]]
           [echo] [2020-02-28T11:56:47,753][INFO ][o.e.g.GatewayService     ] [qASdWCp] recovered [0] indices into cluster_state
           [echo] [2020-02-28T11:56:48,398][INFO ][o.e.c.m.MetaDataIndexTemplateService] [qASdWCp] adding template [.watches] for index patterns [.watches*]
           [echo] [2020-02-28T11:56:51,013][INFO ][o.e.c.m.MetaDataIndexTemplateService] [qASdWCp] adding template [.triggered_watches] for index patterns [.triggered_watches*]
           [echo] [2020-02-28T11:56:51,598][ERROR][o.e.x.m.c.c.ClusterStatsCollector] [qASdWCp] collector [cluster_stats] failed to collect data
           [echo] java.lang.NullPointerException: null
           [echo] 	at org.elasticsearch.xpack.monitoring.collector.cluster.ClusterStatsCollector.doCollect(ClusterStatsCollector.java:108) ~[x-pack-monitoring-6.8.6.jar:6.8.6]
           [echo] 	at org.elasticsearch.xpack.monitoring.collector.Collector.collect(Collector.java:85) [x-pack-monitoring-6.8.6.jar:6.8.6]
           [echo] 	at org.elasticsearch.xpack.monitoring.MonitoringService$MonitoringExecution$1.doRun(MonitoringService.java:272) [x-pack-monitoring-6.8.6.jar:6.8.6]
           [echo] 	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.8.6.jar:6.8.6]
           [echo] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
           [echo] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
           [echo] 	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681) [elasticsearch-6.8.6.jar:6.8.6]
           [echo] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
           [echo] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
           [echo] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec]     BUILD FAILED: java.lang.Exception
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/macros/Clustering.macro[getLogFileSpecificServer]:109
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/macros/Clustering.macro[viewClusterStatusInConsole]:183
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructureee/clustering/clusteringframework/ClusteringConfigs.testcase[StartupJDBCPING]:37
           [exec] 
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.ClusteringConfigs#StartupJDBCPING] STANDARD_ERROR
           [exec]     java.util.concurrent.ExecutionException: java.lang.Exception
           [exec]     	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
           [exec]     	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
           [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.antCommand(BaseWebDriverImpl.java:198)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.poshi.runner.PoshiRunnerExecutor$1.call(PoshiRunnerExecutor.java:1198)
           [exec]     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec]     Caused by: java.lang.Exception
           [exec]     	at com.liferay.poshi.runner.util.AntCommands.call(AntCommands.java:89)
           [exec]     	at com.liferay.poshi.runner.util.AntCommands.call(AntCommands.java:29)
           [exec]     	... 4 more
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.ClusteringConfigs#StartupJDBCPING] FAILED
           [exec]     java.util.concurrent.ExecutionException
           [exec]         Caused by: java.lang.Exception
           [exec] 

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                23 weeks ago

                Packages

                Version Package