Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5502

e2e tests failing with out of memory exception

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 3.6.0-alpha2, 3.6.0
    • None
    • backend
    • None
    • Not defined

      Problem:

      E2E tests sometimes fails with the following error:
      See here: https://ci.optimize.camunda.cloud/job/e2e_tests/840/execution/node/76/log/

      
      [2021-08-17T08:24:44.295Z] [INFO]  Homepage
      
      [2021-08-17T08:24:59.210Z] [INFO]   -backend:Exception in thread "ImportJobExecutor-pool-EventProcessInstanceImportService-0" 
      
      [2021-08-17T08:24:59.210Z] [INFO] 
      
      [2021-08-17T08:24:59.210Z] [INFO]   -backend:java.lang.OutOfMemoryError: Java heap space
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at java.base/java.util.Arrays.copyOf(Arrays.java:3745)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at java.base/java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:120)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:95)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:156)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RequestConverters.bulk(RequestConverters.java:252)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RestHighLevelClient$$Lambda$1409/0x0000000840925840.apply(Unknown Source)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1624)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.bulk(OptimizeElasticsearchClient.java:152)
      
      [2021-08-17T08:24:59.210Z] [INFO] 	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.doBulkRequestWithoutRetries(ElasticsearchWriterUtil.java:309)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.doBulkRequest(ElasticsearchWriterUtil.java:301)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.doImportBulkRequestWithList(ElasticsearchWriterUtil.java:185)
      
      [2021-08-17T08:24:59.211Z] [INFO] 
      
      [2021-08-17T08:24:59.211Z] [INFO]   -backend:	at org.camunda.optimize.service.es.writer.EventProcessInstanceWriter.importProcessInstances(EventProcessInstanceWriter.java:80)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at org.camunda.optimize.service.es.job.importing.EventProcessInstanceElasticsearchImportJob.persistEntities(EventProcessInstanceElasticsearchImportJob.java:26)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at org.camunda.optimize.service.es.job.ElasticsearchImportJob.executeImport(ElasticsearchImportJob.java:56)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at org.camunda.optimize.service.es.job.ElasticsearchImportJob.run(ElasticsearchImportJob.java:37)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      
      [2021-08-17T08:24:59.211Z] [INFO] 	at java.base/java.lang.Thread.run(Thread.java:829)
      
      
      

       

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: