04:19:07.471 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:19:07.478 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:19:07.478 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:19:07.482 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:19:07.541 [qtp78279967-79899] INFO  o.c.o.jetty.IngestionQoSFilter - setting the max number of ingestion requests to 5
04:19:08.082 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:19:08.082 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Stopping telemetry scheduling
04:19:08.082 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.082 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.082 [main] INFO  o.c.o.s.i.e.EventBasedProcessesInstanceImportScheduler - Stop scheduling ingested event import.
04:19:08.082 [main] INFO  o.c.o.s.i.e.EventTraceStateProcessingScheduler - Stop scheduling event pre-aggregation.
04:19:08.083 [main] INFO  o.c.o.s.i.PlatformUserTaskIdentityCacheService - Stop scheduling platform assignee/candidateGroup identity sync.
04:19:08.083 [main] INFO  o.c.o.s.i.PlatformUserIdentityCacheService - Stop scheduling platform user identity sync.
04:19:08.225 [main] INFO  o.c.o.s.e.OptimizeElasticsearchClientFactory - Initializing Elasticsearch rest client...
04:19:08.227 [main] INFO  o.c.o.s.e.OptimizeElasticsearchClientFactory - Elasticsearch client has successfully been started
04:19:08.252 [main] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Updating Optimize schema...
04:19:08.300 [main] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Creating or updating template with name 1--variable-update-instance_v2
04:19:08.319 [main] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Creating or updating template with name 1--event_v4
04:19:08.352 [main] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Creating or updating template with name 1--external-process-variable_v2
04:19:08.384 [main] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Finished updating Optimize schema.
04:19:08.404 [main] INFO  o.c.o.s.i.PlatformUserIdentityCacheService - Initializing platform user identity sync.
04:19:08.404 [main] INFO  o.c.o.s.i.PlatformUserIdentityCacheService - Scheduling platform user identity sync
04:19:08.413 [PlatformUserIdentityCacheService-1] INFO  o.c.o.s.i.PlatformUserIdentityCacheService - platform user identity sync complete
04:19:08.420 [main] INFO  o.c.o.s.i.PlatformUserTaskIdentityCacheService - Initializing platform assignee/candidateGroup identity sync.
04:19:08.420 [main] INFO  o.c.o.s.i.PlatformUserTaskIdentityCacheService - Scheduling platform assignee/candidateGroup identity sync
04:19:08.422 [PlatformUserTaskIdentityCacheService-1] INFO  o.c.o.s.i.PlatformUserTaskIdentityCacheService - platform assignee/candidateGroup identity sync complete
04:19:08.447 [TerminatedSessionService-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7173195) on terminated user sessions with timestamp older than 2021-12-10T03:19:08.443-03:00: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:19:08.452 [main] INFO  o.c.o.s.u.c.e.EventIngestionConfiguration - No ingestion api secret was configured, generated a temporary token [zDmyvmEMHh7q8G3f].
04:19:08.482 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:19:08.482 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:19:08.482 [TelemetryScheduler-1] INFO  o.c.o.s.telemetry.TelemetryScheduler - Checking whether telemetry data can be sent.
04:19:08.482 [TelemetryScheduler-1] INFO  o.c.o.s.telemetry.TelemetryScheduler - Telemetry disabled.
04:19:08.582 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:19:08.582 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:19:08.782 [IngestedDataImportScheduler-1] ERROR o.c.o.s.i.i.m.ExternalVariableUpdateEngineImportMediator - Was not able to import next page, retrying after sleeping for 2250ms.
java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:873)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1084)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.search(OptimizeElasticsearchClient.java:245)
	at org.camunda.optimize.service.es.reader.ExternalVariableReader.getPageOfVariablesSortedByIngestionTimestamp(ExternalVariableReader.java:69)
	at org.camunda.optimize.service.es.reader.ExternalVariableReader.getVariableUpdatesIngestedAt(ExternalVariableReader.java:55)
	at org.camunda.optimize.service.importing.ingested.fetcher.ExternalVariableUpdateInstanceFetcher.fetchVariableInstanceUpdates(ExternalVariableUpdateInstanceFetcher.java:38)
	at org.camunda.optimize.service.importing.ingested.mediator.ExternalVariableUpdateEngineImportMediator.getEntitiesLastTimestamp(ExternalVariableUpdateEngineImportMediator.java:59)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:81)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED
	at org.apache.http.util.Asserts.check(Asserts.java:46)
	at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(CloseableHttpAsyncClientBase.java:90)
	at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:123)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:271)
	... 33 common frames omitted
04:19:08.785 [EngineImportScheduler-1] WARN  o.c.o.s.i.AbstractImportScheduler - Got into illegal state, will abort import round.
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.performDefinitionRequest(DefinitionFetcher.java:119)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.lambda$fetchDefinitions$1(DefinitionFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.fetchDefinitions(DefinitionFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.fetchDefinitions(DefinitionFetcher.java:48)
	at org.camunda.optimize.service.importing.engine.mediator.DecisionDefinitionEngineImportMediator.getEntitiesNextPage(DecisionDefinitionEngineImportMediator.java:50)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:19:08.785 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Could not schedule next import round!
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.performDefinitionRequest(DefinitionFetcher.java:119)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.lambda$fetchDefinitions$1(DefinitionFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.fetchDefinitions(DefinitionFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.definition.DefinitionFetcher.fetchDefinitions(DefinitionFetcher.java:48)
	at org.camunda.optimize.service.importing.engine.mediator.DecisionDefinitionEngineImportMediator.getEntitiesNextPage(DecisionDefinitionEngineImportMediator.java:50)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:19:08.790 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:19:08.793 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:19:08.801 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.801 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.809 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:19:08.809 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:19:08.810 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:19:08.810 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:19:08.822 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.822 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.822 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:19:08.825 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:19:08.825 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.825 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.832 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:19:08.832 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:19:08.833 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:19:08.833 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:19:08.847 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:19:08.892 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:19:08.892 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:19:08.896 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:19:08.933 [qtp793279592-79993] INFO  o.c.o.jetty.IngestionQoSFilter - setting the max number of ingestion requests to 5
04:19:08.963 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.963 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.963 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:19:08.966 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:19:08.967 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:19:08.967 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:19:08.978 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:19:08.978 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:19:08.979 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:19:08.979 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
