Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21769

[ducktests] ignitetest/tests/dns_failure_test.py doesn't start with JDK11 and JDK17

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.17
    • None

    Description

      ignitetest/tests/dns_failure_test.py fails on JDK11 and JDK17

      Ignite node can not start with the following exception:

      Class not found: java.net.BlockingDnsInet4AddressImpl:
      check impl.prefix property in your properties file.
      java.lang.Error: System property impl.prefix incorrect
              at java.base/java.net.InetAddress.loadImpl(InetAddress.java:1734)
              at java.base/java.net.InetAddressImplFactory.create(InetAddress.java:1807)
              at java.base/java.net.InetAddress.<clinit>(InetAddress.java:1141)
              at org.apache.logging.log4j.core.util.NetUtils.getLocalHostname(NetUtils.java:56)
              at org.apache.logging.log4j.core.LoggerContext.lambda$setConfiguration$0(LoggerContext.java:625)
              at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
              at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:625)
              at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:713)
              at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:735)
              at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:260)
              at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:154)
              at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:46)
              at org.apache.logging.log4j.LogManager.getContext(LogManager.java:197)
              at org.apache.commons.logging.LogAdapter$Log4jLog.<clinit>(LogAdapter.java:155)
              at org.apache.commons.logging.LogAdapter$Log4jAdapter.createLog(LogAdapter.java:122)
              at org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:89)
              at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
              at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)
              at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:164)
              at org.springframework.context.support.GenericApplicationContext.<init>(GenericApplicationContext.java:111)
              at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.prepareSpringContext(IgniteSpringHelperImpl.java:458)
              at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:386)
      

      Logs attached obtained with the below jdk versions:

      OpenJDK Runtime Environment 11.0.19+7 Eclipse Adoptium OpenJDK 64-Bit Server VM 11.0.19+7
      OpenJDK Runtime Environment 17.0.7+7 Eclipse Adoptium OpenJDK 64-Bit Server VM 17.0.7+7

      Attachments

        1. dns_failure_test_jdk17.zip
          48 kB
          Sergey Korotkov
        2. dns_failure_test_jdk11.zip
          27 kB
          Sergey Korotkov

        Issue Links

          Activity

            People

              serge.korotkov Sergey Korotkov
              serge.korotkov Sergey Korotkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m