abhijithumbe commented on PR #4087:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4087#issuecomment-3410036028

   @mstuy In the logs I can see following tests were failed:
   ```
    2025-10-09T06:14:51.5072751Z 2025-10-09 06:14:51,495 WARN  
[com.arj.ats.arjuna] (main) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion 
- failed for SynchronizationImple< 0:ffff0a010096:b1d5:68e752d5:d, 
org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6b0796d4
 >: org.hibernate.exception.ConstraintViolationException: could not execute 
statement [Unique index or primary key violation: "PUBLIC.PRIMARY_KEY_B ON 
PUBLIC.JOB_DETAILS(ID) VALUES ( /* 1 */ '1' )"; SQL statement:
   2025-10-09T06:14:51.5078355Z insert into job_details 
(correlation_id,created,execution_counter,execution_timeout,execution_timeout_unit,fire_time,last_update,priority,recipient,retries,scheduled_id,status,trigger,id)
 values (?,?,?,?,?,?,?,?,?,?,?,?,?,?) [23505-232]] [insert into job_details 
(correlation_id,created,execution_counter,execution_timeout,execution_timeout_unit,fire_time,last_update,priority,recipient,retries,scheduled_id,status,trigger,id)
 values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)]
    ......
   
   2025-10-09T06:14:51.5303701Z [ERROR] 
org.kie.kogito.app.jobs.jpa.quarkus.QuarkusJPAJobStoreTest.testBasicError -- 
Time elapsed: 0.020 s <<< ERROR!
   2025-10-09T06:14:51.5305118Z io.quarkus.arc.ArcUndeclaredThrowableException: 
Error invoking subclass method
   2025-10-09T06:14:51.5306145Z         at 
org.kie.kogito.app.jobs.quarkus.QuarkusJobsService_Subclass.scheduleJob(Unknown 
Source)
   2025-10-09T06:14:51.5307416Z         at 
org.kie.kogito.app.jobs.jpa.quarkus.QuarkusJPAJobStoreTest.testBasicError(QuarkusJPAJobStoreTest.java:81)
   
   ....
   2025-10-09T06:14:51.6126701Z [ERROR] Failures: 
   2025-10-09T06:14:51.6127386Z [ERROR]   
QuarkusJPAJobStoreTest.testBasicPersistence:69 
   2025-10-09T06:14:51.6127932Z Expecting value to be true but was false
   2025-10-09T06:14:51.6128186Z [ERROR] Errors: 
   2025-10-09T06:14:51.6128880Z [ERROR]   
QuarkusJPAJobStoreTest.testBasicError:81 ยป ArcUndeclaredThrowable Error 
invoking subclass method
   2025-10-09T06:14:51.6129324Z [INFO] 
   2025-10-09T06:14:51.6129538Z [ERROR] Tests run: 2, Failures: 1, Errors: 1, 
Skipped: 0
   ```
   
   I tried to execute same tests locally and its working fine. 
   ```
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.144 
s -- in org.kie.kogito.app.jobs.jpa.quarkus.QuarkusJPAJobStoreTest
   2025-10-16 14:49:09,410 INFO  [io.quarkus] (main) 
kogito-addons-quarkus-embedded-jobs stopped in 0.032s
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
   ```
   
   So it seems failure is not related to code change. 


-- 
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