[infinispan-issues] [JBoss JIRA] (ISPN-10024) Long test killer doesn't work on Java 11

Dan Berindei (Jira) issues at jboss.org
Mon Mar 4 06:30:01 EST 2019


Dan Berindei created ISPN-10024:
-----------------------------------

             Summary: Long test killer doesn't work on Java 11
                 Key: ISPN-10024
                 URL: https://issues.jboss.org/browse/ISPN-10024
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Core
    Affects Versions: 10.0.0.Beta2, 9.4.8.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 10.0.0.Beta3


When a test takes > 5 minutes, {{RunningTestsRegistry}} takes a thread dump of the entire JVM and its child processes, then interrupts the test thread, and if the test still doesn't stop, it kills the test suite JVM.

With OpenJDK 11, the path to {{jstack}} is wrong, the thread dump step fails, and the interrupt/kill steps are skipped.

Note that on IBM JDK 8 {{jstack}} is missing completely, so we may want to write the thread stacktraces ourselves. The downside is that we would lose synchronization/lock/deadlock information.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list