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

SynonymSearchTest integration test fails when run with a remote Elasticsearch server

    Details

      Description

      It looks like the test is trying to start up Sidecar even though a remote Elasticsearch server is already running.

      This occurred on both remote Elasticsearch 7.9.0 and 7.11.0 on master and 7.3.x. It is failing on the suites ci:test:search-remote and ci:test:search-remote-minimum.

      Stacktrace:

           [exec] 2021-03-25 02:59:16.777 WARN  [com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarMainProcessCallable@7a7e9c2e[-Xms1g -Xmx1g -XX:+AlwaysPreTouch -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar56302970228460912/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar56302970228460912 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/152/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][Sidecar:624] Sidecar Elasticsearch process is aborted
           [exec] java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar$RestartFutureListener.complete(Sidecar.java:620) [bundleFile:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture$OnceFutureListener.complete(DefaultNoticeableFuture.java:111) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.done(DefaultNoticeableFuture.java:85) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.setException(FutureTask.java:251) [?:1.8.0_121]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.setException(DefaultNoticeableFuture.java:79) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:271) [?:1.8.0_121]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] Caused by: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:309) ~[com.liferay.petra.process.jar:?]
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:161) ~[com.liferay.petra.process.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_121]
           [exec] 	... 1 more
           [exec] 2021-03-25 02:59:16.783 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration)][ElasticsearchConnectionManager:81] Elasticsearch sidecar could not be started. Search will be unavailable. Manual installation of Elasticsearch and activation of remote mode is recommended.
           [exec] java.util.concurrent.CancellationException: null
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:121) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.waitForPublishedAddress(Sidecar.java:198) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.startElasticsearch(Sidecar.java:337) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:116) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:135) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:75) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:142) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.onElasticsearchConfigurationUpdate(SidecarManager.java:70) ~[bundleFile:?]
           [exec] 	at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper.activate(ElasticsearchConfigurationWrapper.java:279) [bundleFile:?]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:310) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:300) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeModifiedMethod(SingleComponentManager.java:837) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.modify(SingleComponentManager.java:792) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:710) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:674) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:435) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:317) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:119) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:1685) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:1637) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [bundleFile:?]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] 2021-03-25 02:59:16.797 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration)][ElasticsearchConfigurationWrapper:93] bundle com.liferay.portal.search.elasticsearch7.impl:6.0.0 (152)[com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper(307)] : The activate method has thrown an exception 
           [exec] java.util.concurrent.CancellationException: null
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:121) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.waitForPublishedAddress(Sidecar.java:198) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.startElasticsearch(Sidecar.java:337) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:116) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:135) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:75) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:142) ~[?:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.onElasticsearchConfigurationUpdate(SidecarManager.java:70) ~[?:?]
           [exec] 	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper.activate(ElasticsearchConfigurationWrapper.java:279) ~[?:?]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:310) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:300) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeModifiedMethod(SingleComponentManager.java:837) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.modify(SingleComponentManager.java:792) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:710) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:674) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:435) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:317) [bundleFile:?]
           [exec] 	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:119) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:1685) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:1637) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [bundleFile:?]
           [exec] 	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [bundleFile:?]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] 2021-03-25 02:59:17.907 INFO  [Arquillian-Connector-Thread][BundleStartStopLogger:49] STOPPED com.liferay.portal.search.tuning.synonyms.web.test_1.0.0 [1350]
           [exec] 
           [exec] 1 test completed, 1 failed
           [exec] 
           [exec] com.liferay.portal.search.tuning.synonyms.web.test.SynonymSearchTest > classMethod STARTED
           [exec] 
           [exec] com.liferay.portal.search.tuning.synonyms.web.test.SynonymSearchTest > classMethod FAILED
           [exec]     java.lang.AssertionError: Thread Thread[CM Event Dispatcher,5,Configuration Admin Service] caught concurrent failure: java.lang.AssertionError: {level=ERROR, loggerName=osgi.logging.com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper, message=bundle com.liferay.portal.search.elasticsearch7.impl:6.0.0 (152)[com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper(307)] : The activate method has thrown an exception 
           [exec]     java.lang.AssertionError: {level=ERROR, loggerName=osgi.logging.com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper, message=bundle com.liferay.portal.search.elasticsearch7.impl:6.0.0 (152)[com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper(307)] : The activate method has thrown an exception 
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
           [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
           [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
           [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
           [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
           [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
           [exec]     	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
           [exec]     	at org.apache.logging.log4j.core.Logger.log(Logger.java:161)
           [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205)
           [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159)
           [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)
           [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1994)
           [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1852)
           [exec]     	at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:58)
           [exec]     	at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec]     	at com.liferay.util.slf4j.LiferayLoggerAdapter.error(LiferayLoggerAdapter.java:110)
           [exec]     	at com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener._log(PortalSynchronousLogListener.java:93)
           [exec]     	at com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener.logged(PortalSynchronousLogListener.java:73)
           [exec]     	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:107)
           [exec]     	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:249)
           [exec]     	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:221)
           [exec]     	at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:84)
           [exec]     	at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:284)
           [exec]     	at org.eclipse.osgi.internal.log.LoggerImpl.error(LoggerImpl.java:217)
           [exec]     	at org.eclipse.osgi.internal.log.LoggerImpl.error(LoggerImpl.java:207)
           [exec]     	at org.apache.felix.scr.impl.logger.R7LogServiceLogger.log(R7LogServiceLogger.java:72)
           [exec]     	at org.apache.felix.scr.impl.logger.AbstractLogger.log(AbstractLogger.java:92)
           [exec]     	at org.apache.felix.scr.impl.logger.ComponentLogger.log(ComponentLogger.java:97)
           [exec]     	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:514)
           [exec]     	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:310)
           [exec]     	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:300)
           [exec]     	at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeModifiedMethod(SingleComponentManager.java:837)
           [exec]     	at org.apache.felix.scr.impl.manager.SingleComponentManager.modify(SingleComponentManager.java:792)
           [exec]     	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:710)
           [exec]     	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:674)
           [exec]     	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:435)
           [exec]     	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:317)
           [exec]     	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:119)
           [exec]     	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:1685)
           [exec]     	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:1637)
           [exec]     	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138)
           [exec]     	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec]     	Suppressed: java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager, message=Elasticsearch sidecar could not be started. Search will be unavailable. Manual installation of Elasticsearch and activation of remote mode is recommended.
           [exec]     		at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
           [exec]     		at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
           [exec]     		at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
           [exec]     		at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
           [exec]     		at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
           [exec]     		at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
           [exec]     		at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
           [exec]     		at org.apache.logging.log4j.core.Logger.log(Logger.java:161)
           [exec]     		at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205)
           [exec]     		at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159)
           [exec]     		at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)
           [exec]     		at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1994)
           [exec]     		at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1852)
           [exec]     		at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:58)
           [exec]     		at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:81)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:142)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.onElasticsearchConfigurationUpdate(SidecarManager.java:70)
           [exec]     		at java.lang.Iterable.forEach(Iterable.java:75)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.configuration.ElasticsearchConfigurationWrapper.activate(ElasticsearchConfigurationWrapper.java:279)
           [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 org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228)
           [exec]     		at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
           [exec]     		at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664)
           [exec]     		at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510)
           [exec]     		... 14 more
           [exec]     	Caused by: java.util.concurrent.CancellationException
           [exec]     		at java.util.concurrent.FutureTask.report(FutureTask.java:121)
           [exec]     		at java.util.concurrent.FutureTask.get(FutureTask.java:192)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.waitForPublishedAddress(Sidecar.java:198)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.startElasticsearch(Sidecar.java:337)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:116)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:135)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61)
           [exec]     		at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:75)
           [exec]     		... 26 more
           [exec]     	[CIRCULAR REFERENCE:java.util.concurrent.CancellationException]
           [exec] 
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.endAssert(LogAssertionTestRule.java:129)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.afterClass(LogAssertionTestRule.java:186)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.afterClass(LogAssertionTestRule.java:50)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:66)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec]     	Suppressed: org.junit.internal.runners.model.MultipleFailureException: There were 2 errors:
           [exec]       com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionNotInitializedException(Elasticsearch connection not found. Production Mode Enabled: false, Connection ID: null, Prefer Local Cluster: false, Cross-Cluster Replication Enabled: false. Enable INFO logs on class com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager for more information)
           [exec]       java.lang.NullPointerException(null)
           [exec]     		at org.junit.runners.model.MultipleFailureException.assertEmpty(MultipleFailureException.java:102)
           [exec]     		at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:39)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     		... 7 more
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joshua.chong Joshua Chong
              Reporter:
              joshua.chong Joshua Chong
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 weeks, 5 days ago
                Development End Date:

                  Packages

                  Version Package
                  7.2.10 DXP FP13
                  7.2.X
                  7.3.X
                  7.4.0 CE GA1
                  Master