[ 
https://issues.apache.org/jira/browse/IGNITE-21769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Korotkov updated IGNITE-21769:
-------------------------------------
    Description: 
ignitetest/tests/dns_failure_test.py fails on JDK11 and JDK17

Ignite node can not start with the following exception:

{noformat}
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)
{noformat}

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

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

Ignite node can not start with the following exception:

{noformat}
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)
{noformat}


> [ducktests] ignitetest/tests/dns_failure_test.py doesn't work with JDK11 and 
> JDK17
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-21769
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21769
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Sergey Korotkov
>            Priority: Minor
>              Labels: ise
>         Attachments: dns_failure_test_jdk11.zip, dns_failure_test_jdk17.zip
>
>
> ignitetest/tests/dns_failure_test.py fails on JDK11 and JDK17
> Ignite node can not start with the following exception:
> {noformat}
> 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)
> {noformat}
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to