tkobayas commented on issue #6841:
URL: 
https://github.com/apache/incubator-kie-drools/issues/6841#issuecomment-5089354661

   # Slow Tasks — Job 0 (ubuntu-latest / Java-17 / Maven-3.9.11)
   
   - **Job duration**: ~2 hours (04:09 – 06:09 UTC, 2026-07-24)
   - **Total test classes**: 3,011
   
   ## Slowest Test Classes
   
   | Time (s) | Test Class |
   |----------|------------|
   | 145.4 | `org.jbpm.bpmn2.IntermediateEventTest` |
   | 94.9 | `org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT` |
   | 58.0 | `org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT` (2nd run) |
   | 53.4 | `io.quarkus.it.kogito.process.HotReloadTest` |
   | 50.7 | `org.drools.compiler.integrationtests.CepEspTest` |
   | 47.4 | 
`org.jbpm.usertask.jpa.springboot.PostgreSQLSpringBootJPAUserTaskInstancesIT` |
   | 38.2 | `org.jbpm.bpmn2.StartEventTest` |
   | 31.7 | `org.drools.mvel.integrationtests.sequential.SequentialTest` |
   | 31.5 | `org.kie.kogito.quarkus.rules.hotreload.ChangePojoIT` |
   | 30.0 | `org.drools.mvel.integrationtests.concurrency.MultithreadTest` |
   | 29.2 | 
`org.kie.kogito.integrationtests.quarkus.TransactionRollbackMessageIT` |
   | 29.1 | `org.kie.kogito.codegen.tests.UserTaskIT` |
   | 28.7 | `org.jbpm.usertask.transaction.it.UserTaskTransactionRollbackIT` |
   | 28.3 | `org.jbpm.bpmn2.SLAComplianceTest` |
   | 27.3 | `org.kie.kogito.it.InfinispanPersistenceIT` |
   | 26.8 | `org.jbpm.userTask.jpa.it.UserTaskAttachmentsIT` |
   | 26.7 | `org.kie.scanner.KieRepositoryScannerTest` |
   | 26.7 | `org.drools.reliability.test.ReliabilityTest` |
   | 26.7 | `org.kie.dmn.feel.runtime.FEELDateTimeDurationTest` |
   | 26.6 | `org.kie.dmn.feel.codegen.feel11.DirectCompilerTest` |
   | 26.6 | `org.kie.kogito.it.PostgreSQLOptimisticLockingIT` |
   | 25.6 | `org.drools.compiler.integrationtests.AccumulateTest` |
   | 24.6 | 
`org.kie.kogito.integrationtests.springboot.TransactionRollbackMessageTest` |
   | 24.5 | `org.kie.kogito.integrationtests.quarkus.MultipleTimerInstancesIT` |
   | 24.4 | `org.optaplanner.quarkus.it.devui.OptaPlannerDevUITest` |
   | 24.1 | `org.kie.kogito.codegen.process.ProcessGenerationIT` |
   | 23.9 | `org.kie.kogito.quarkus.dmn.KogitoDMNCodeCodestartIT` |
   | 23.5 | `org.kie.kogito.infinispan.CacheProcessInstancesIT` |
   | 23.3 | `org.kie.kogito.codegen.tests.TimerEventIT` |
   | 22.1 | `org.kie.kogito.it.InfinispanPersistenceIT` (2nd run) |
   
   ## Slow Operations Within Test Classes (timestamp gap analysis)
   
   Per-method timings are reported in the next comment.
   The table below shows the largest timestamp gaps within slow test classes,
   which indicate individual slow test methods or blocking operations (timer 
sleeps,
   container startup, solver runs, etc.).
   
   | Gap (s) | Class (total time) | Likely cause |
   |---------|--------------------|--------------|
   | 22.3 | `KogitoDMNCodeCodestartIT` (23.9s) | Maven build inside codestart 
test |
   | 21.8 | `WsHumanTaskLifeCycleIT` (94.9s) | REST call gap — likely a single 
slow lifecycle test |
   | 20.8 | `LargeAlphaNetworkTest` (20.8s) | Entire class is one big 
alpha-network compilation test |
   | 20.5 | `WsHumanTaskLifeCycleIT` (94.9s) | Spring Boot app init + REST test 
|
   | 19.2 | `AlphaNetworkSupportInLargeDecisionTableTest` (19.2s) | Entire 
class is one large decision table test |
   | 16.1 | `SLAComplianceTest` (28.2s) | SLA timer wait |
   | 13.1 | `DroolsQuadConstraintStreamTest` (16.6s) | Constraint stream 
solving |
   | 12.9 | `RemoteSmokeTest` (20.9s) | InfinispanContainer startup (~13s) |
   | 10.7 | `AdHocFragmentsIT` (20.4s) | Testcontainers image pull / startup |
   | 10.1 | `SLAComplianceTest` (28.2s) | Second SLA timer wait |
   | 10.0 | `IntermediateEventTest` (145.4s) | Timer sleep (~10s wait between 
"Timer handled" events) |
   | 10.0 | `IntermediateEventTest` (145.4s) | Timer sleep (~10s wait for 
"Timer triggered") |
   | 10.0 | `IntermediateEventTest` (145.4s) | Timer sleep (~10s wait between 
"Timer handled") |
   | 10.0 | `IntermediateEventTest` (145.4s) | Timer sleep (~10s final timer 
wait) |
   | 9.7 | `WsHumanTaskLifeCycleIT` (58.0s) | Quarkus app startup + REST |
   | 9.4 | `IntermediateEventTest` (145.4s) | Timer sleep (~9s "Timer handled 
on task") |
   | 9.3 | `ConfigValueExpanderIT` (15.5s) | MockWebServer startup |
   | 9.1 | `InfinispanPersistenceIT` (27.3s) | Testcontainers Docker startup |
   | 9.0 | `IntermediateEventTest` (145.4s) | Timer sleep (~9s "Timer 
triggered") |
   | 8.9 | `TransactionRollbackMessageIT` (29.2s) | Testcontainers Docker 
startup |
   | 8.6 | `UserTaskTransactionRollbackIT` (28.6s) | Quarkus app build/startup |
   | 8.3 | `VehicleRoutingSmokeTest` (18.4s) | OptaPlanner solver run |
   | 8.1 | `CurriculumCourseSmokeTest` (19.2s) | OptaPlanner solver run |
   | 8.1 | `PostgreSQLOptimisticLockingIT` (26.6s) | Testcontainers Docker 
startup |
   
   **Key patterns:**
   - `IntermediateEventTest` (145.4s): dominated by ~14 timer-based tests each 
sleeping 6–10s. No single method is the bottleneck; the cumulative timer sleeps 
add up.
   - `WsHumanTaskLifeCycleIT` (94.9s + 58.0s): Spring Boot / Quarkus app 
startup + sequential REST lifecycle calls with large gaps.
   - `LargeAlphaNetworkTest`, `AlphaNetworkSupportInLargeDecisionTableTest`: 
single monolithic compilation tests.
   - Testcontainers startup (Infinispan, PostgreSQL, MongoDB): 7–13s per 
container across many IT classes.
   - OptaPlanner smoke tests: solver execution time (8s each).
   
   ## Slowest Maven Modules
   
   | Time (s) | Module |
   |----------|--------|
   | 59.7 | jBPM :: Quarkus Extension :: Integration Tests (Hot Reload) |
   | 53.6 | Drools :: Quarkus Rules Extension :: Integration Tests (Hot Reload) 
|
   | 52.5 | OptaPlanner core implementation |
   | 49.5 | KIE :: CI |
   | 48.3 | jBPM :: Add-Ons :: Quarkus :: User Task Storage JPA :: Runtime |
   | 46.4 | Kogito :: Integration Tests :: Quarkus :: Processes :: Persistence 
:: PostgreSQL |
   | 44.9 | Kogito :: Quarkus Decisions Extension :: Integration Tests |
   | 44.7 | Kogito :: Quarkus Decisions Extension :: Integration Tests (Hot 
Reload) |
   | 43.5 | integration-tests-springboot-processes-it |
   | 41.9 | Kogito :: Integration Tests :: Quarkus :: Processes :: Persistence 
:: JDBC |
   | 40.9 | Kogito :: Integration Tests :: Quarkus :: User Task Listeners :: 
Rollback |
   | 40.0 | Kogito :: Integration Tests :: Quarkus :: Transactions |
   | 39.4 | Kogito :: Integration Tests :: Quarkus :: Processes :: Persistence 
:: MongoDB |
   | 38.5 | Drools :: Alpha Network Compiler |
   | 38.5 | jBPM with Drools :: Quarkus Extension :: Integration Tests |
   | 37.7 | Kogito :: Integration Tests :: Quarkus :: Without REST |
   | 37.5 | integration-tests-springboot-decisions-it |
   | 37.0 | Kogito :: Integration Tests :: Spring Boot :: UserTasks |
   | 36.3 | KIE :: Add-Ons :: Persistence :: Infinispan |
   | 36.2 | OptaPlanner Quarkus Benchmark - Deployment |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to