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

Vladimir Steshin updated IGNITE-21165:
--------------------------------------
    Description: 
There are many timeouted test runs in the .NET suite. Example:
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_PlatformNetCoreLinux/7678070

{code:java}
The build Ignite Tests 2.x (JDK 8/11)::Platform .NET (Core Linux) #39429 
{buildId=7678070} has been running for more than 40 minutes. Terminating...
{code}

Looks like only port 47500 is requested while server node started on another. 
Probably a previous test didn't release the port yet.

{code:java}
Successfully bound communication NIO server to TCP port [port=47101, 
locHost=/127.0.0.1, selectorsCnt=4, selectorSpins=0, pairedConn=false]
{code}
{code:java}
Failed to connect to any address from IP finder (make sure IP finder addresses 
are correct and firewalls are disabled on all host machines): [/127.0.0.1:47500]
{code}








  was:
There are many timeouted test runs in the .NET suite. Example:
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_PlatformNetCoreLinux/7678070

{code:java}
The build Ignite Tests 2.x (JDK 8/11)::Platform .NET (Core Linux) #39429 
{buildId=7678070} has been running for more than 40 minutes. Terminating...
{code}

Looks like only port 47500 is requested while server node started on another. 
Probably a previous test didn't release the port yet.

{code:java}
Successfully bound communication NIO server to TCP port [port=47101, 
locHost=/127.0.0.1, selectorsCnt=4, selectorSpins=0, pairedConn=false]
{code}
{code:java}
Failed to connect to any address from IP finder (make sure IP finder addresses 
are correct and firewalls are disabled on all host machines): [/127.0.0.1:47500]
{code}

If I'm correct, this happens after 

{code:java}
Apache.Ignite.Core.Tests.Client.Compatibility.ClientServerCompatibilityTest("org.apache.ignite","2.8.0",6).TestPartitionAwarenessDisablesAutomaticallyOnVersionsOlderThan140
{code}
of after
{code:java}
Apache.Ignite.Core.Tests.Client.Compatibility.ClientServerCompatibilityTest("org.apache.ignite","2.8.0",6).TestWithExpiryPolicyThrowCorrectExceptionOnVersionsOlderThan150
{code}

The issue might be related to:
{code:java}
JAVA_HOME: /opt/java/jdk-ora-8
{code}
{code:java}
if (TestUtilsJni.GetJavaMajorVersion() <= 11)
                {
                    // Old Ignite versions can't start on new JDKs (support was 
not yet added).
                    yield return new object[] { JavaServer.GroupIdIgnite, 
"2.4.0", 0 };
                    yield return new object[] { JavaServer.GroupIdIgnite, 
"2.6.0", 1 };
                }
{code}
{code:java}
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/ignite/ignite-core/2.4.0/ignite-core-2.4.0.jar
{code}
{code:java}
PlatformProcessUtils >> [INFO] Compiling 1 source file to 
/data/tcAgent/work/7bc1c54bc719b67c/modules/platforms/dotnet/Apache.Ignite.Core.Tests/JavaServer/target/classes
PlatformProcessUtils >> [WARNING] 
/data/tcAgent/work/7bc1c54bc719b67c/modules/platforms/dotnet/Apache.Ignite.Core.Tests/JavaServer/src/main/java/Runner.java:
 
/data/tcAgent/work/7bc1c54bc719b67c/modules/platforms/dotnet/Apache.Ignite.Core.Tests/JavaServer/src/main/java/Runner.java
 uses unchecked or unsafe operations.
PlatformProcessUtils >> [WARNING] 
/data/tcAgent/work/7bc1c54bc719b67c/modules/platforms/dotnet/Apache.Ignite.Core.Tests/JavaServer/src/main/java/Runner.java:
 Recompile with -Xlint:unchecked for details.
PlatformProcessUtils >> [INFO] 
PlatformProcessUtils >> [INFO] --- exec-maven-plugin:3.0.0:java (default-cli) @ 
ignite-maven-server ---
PlatformProcessUtils >> Can't load log handler 
"org.apache.ignite.logger.java.JavaLoggerFileHandler"
PlatformProcessUtils >> java.lang.ClassNotFoundException: 
org.apache.ignite.logger.java.JavaLoggerFileHandler
PlatformProcessUtils >> java.lang.ClassNotFoundException: 
org.apache.ignite.logger.java.JavaLoggerFileHandler
PlatformProcessUtils >>         at 
java.net.URLClassLoader.findClass(URLClassLoader.java:382)
PlatformProcessUtils >>         at 
java.lang.ClassLoader.loadClass(ClassLoader.java:418)
PlatformProcessUtils >>         at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
PlatformProcessUtils >>         at 
java.lang.ClassLoader.loadClass(ClassLoader.java:351)
PlatformProcessUtils >>         at 
java.util.logging.LogManager$5.run(LogManager.java:965)
PlatformProcessUtils >>         at 
java.security.AccessController.doPrivileged(Native Method)
PlatformProcessUtils >>         at 
java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)
PlatformProcessUtils >>         at 
java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1578)
PlatformProcessUtils >>         at 
java.util.logging.LogManager.access$1500(LogManager.java:145)
PlatformProcessUtils >>         at 
java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1667)
PlatformProcessUtils >>         at 
java.util.logging.Logger.getHandlers(Logger.java:1777)
PlatformProcessUtils >>         at 
org.apache.ignite.logger.java.JavaLogger.findHandler(JavaLogger.java:411)
PlatformProcessUtils >>         at 
org.apache.ignite.logger.java.JavaLogger.configure(JavaLogger.java:241)
PlatformProcessUtils >>         at 
org.apache.ignite.logger.java.JavaLogger.<init>(JavaLogger.java:181)
PlatformProcessUtils >>         at 
org.apache.ignite.logger.java.JavaLogger.<init>(JavaLogger.java:135)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.initLogger(IgnitionEx.java:2454)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.initializeConfiguration(IgnitionEx.java:2122)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1742)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1716)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1144)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:664)
PlatformProcessUtils >>         at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
PlatformProcessUtils >>         at 
org.apache.ignite.Ignition.start(Ignition.java:322)
PlatformProcessUtils >>         at Runner.main(Runner.java:53)
PlatformProcessUtils >>         at 
org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
PlatformProcessUtils >>         at java.lang.Thread.run(Thread.java:748)
{code}










> .NET platform test timeouts after ClientServerCompatibilityTest
> ---------------------------------------------------------------
>
>                 Key: IGNITE-21165
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21165
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladimir Steshin
>            Priority: Major
>              Labels: ise
>         Attachments: 
> Ignite_Tests_2.x_JDK_8_11_Platform_.NET_Core_Linux_39429.log.zip
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> There are many timeouted test runs in the .NET suite. Example:
> https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_PlatformNetCoreLinux/7678070
> {code:java}
> The build Ignite Tests 2.x (JDK 8/11)::Platform .NET (Core Linux) #39429 
> {buildId=7678070} has been running for more than 40 minutes. Terminating...
> {code}
> Looks like only port 47500 is requested while server node started on another. 
> Probably a previous test didn't release the port yet.
> {code:java}
> Successfully bound communication NIO server to TCP port [port=47101, 
> locHost=/127.0.0.1, selectorsCnt=4, selectorSpins=0, pairedConn=false]
> {code}
> {code:java}
> Failed to connect to any address from IP finder (make sure IP finder 
> addresses are correct and firewalls are disabled on all host machines): 
> [/127.0.0.1:47500]
> {code}



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

Reply via email to