Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17068

Clustering test suite started to fail on JDK19 after recent JGroups upgrade

XMLWordPrintable

    • Hide

      export JAVA_HOME=$ORACLE_JDK19 && export PATH=$JAVA_HOME/bin:$PATH
      cd wildfly/testsuite/integration/clustering
      mvn clean test -Dtest=**/JSFFailoverTestCase

      Show
      export JAVA_HOME=$ORACLE_JDK19 && export PATH=$JAVA_HOME/bin:$PATH cd wildfly/testsuite/integration/clustering mvn clean test -Dtest=**/JSFFailoverTestCase
    • ---
    • ---

      One example of clustering test failure:

      2022-10-03 07:57:30,321 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 86) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: java.lang.UnsupportedClassVersionError: Failed to link o
      <------>at org.wildfly.clustering.service@27.0.0.Final-SNAPSHOT//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
      <------>at org.wildfly.clustering.service@27.0.0.Final-SNAPSHOT//org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
      <------>at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      <------>at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      <------>at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      <------>at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      <------>at java.base/java.lang.Thread.run(Thread.java:1589)
      <------>at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      Caused by: java.lang.UnsupportedClassVersionError: Failed to link org/jgroups/util/jdkspecific/ThreadCreator (Module "org.jgroups" version 5.2.6.Final from local module loader @70cf32e3 (finder: local module finder @5a59ca5e (roots: /home/opalka/git/redhat/PUBLIC/wildfly/build/target/wildfly-27.0.0.Final-SNAPSHOT/mod
      <------>at org.jgroups@5.2.6.Final//org.jgroups.util.ThreadPool.init(ThreadPool.java:150)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.stack.ProtocolStack.lambda$initComponents$7(ProtocolStack.java:858)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.util.Util.forAllComponents(Util.java:3365)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.stack.ProtocolStack.initComponents(ProtocolStack.java:839)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:795)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:781)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:777)
      <------>at org.jgroups@5.2.6.Final//org.jgroups.JChannel.<init>(JChannel.java:155)
      <------>at org.jboss.as.clustering.jgroups@27.0.0.Final-SNAPSHOT//org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:115)
      <------>at org.jboss.as.clustering.jgroups@27.0.0.Final-SNAPSHOT//org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:96)
      <------>at org.jboss.as.clustering.jgroups@27.0.0.Final-SNAPSHOT//org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:58)
      <------>at org.wildfly.clustering.service@27.0.0.Final-SNAPSHOT//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
      <------>... 7 more

              pferraro@redhat.com Paul Ferraro
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: