Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9582

Test failure org.jbpm.springboot.samples.CustomNotificationListenerTest.testProcessEventListenerRegistration fails in PR CI verification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • SpringBoot
    • None
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • ---
    • ---

    Description

      There are 2 failures in one test due wrong or not done test setup/teardown:

      org.jbpm.springboot.samples.CustomNotificationListenerTest.testProcessEventListenerRegistration
       Error Details
      
      Undeploy forbidden - there are active processes instances for deployment org.jbpm.test:evaluation:1.0.0
      
       Stack Trace
      
      java.lang.IllegalStateException: Undeploy forbidden - there are active processes instances for deployment org.jbpm.test:evaluation:1.0.0
      	at org.jbpm.kie.services.impl.utils.PreUndeployOperations.lambda$checkActiveProcessInstances$0(PreUndeployOperations.java:62)
      	at org.jbpm.kie.services.impl.AbstractDeploymentService.undeploy(AbstractDeploymentService.java:186)
      	at org.jbpm.kie.services.impl.KModuleDeploymentService.undeploy(KModuleDeploymentService.java:238)
      	at org.jbpm.kie.services.impl.AbstractDeploymentService.undeploy(AbstractDeploymentService.java:178)
      	at org.jbpm.springboot.samples.CustomNotificationListenerTest.cleanup(CustomNotificationListenerTest.java:90)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      	at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
      	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
      	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.lang.Thread.run(Thread.java:748)
      

      and test testProcessEventListenerRegistration fails with

      org.jbpm.springboot.samples.CustomNotificationListenerTest.testProcessEventListenerRegistration
       Error Details
      
      javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
      

      more details in attached log file.

      Attachments

        Activity

          People

            gmunozfe@redhat.com Gonzalo Muñoz Fernández
            mnovotny@redhat.com Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: