eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

JDK17 jdk_net/jdk_nio - RuntimeException: expected: class java.lang.IllegalArgumentException, actual: java.lang.RuntimeException: Exception not thrown & a few other errors #14030

Open JasonFengJ9 opened 2 years ago

JasonFengJ9 commented 2 years ago

Failure link

From an internal build job/Test_openjdk17_j9_extended.openjdk_ppc64le_linux/29/ (rhel7lert-11):

openjdk version "17.0.1" 2021-10-19
IBM Semeru Runtime Certified Edition 17.0.1+12 (build 17.0.1+12)
Eclipse OpenJ9 VM 17.0.1+12 (build master-ea06f7479, JRE 17 Linux ppc64le-64-Bit Compressed References 20211127_44 (JIT enabled, AOT enabled)
OpenJ9   - ea06f7479
OMR      - eb9cf8525
JCL      - a60fb4eda99 based on jdk-17.0.1+12)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2021-11-27T17:58:58.077Z] variation: Mode150
[2021-11-27T17:58:58.077Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2021-11-27T18:05:19.413Z] --------------------------------------------------
[2021-11-27T18:05:19.413Z] TEST: java/net/DatagramSocket/DatagramSocketMulticasting.java

[2021-11-27T18:05:19.415Z] STDERR:
[2021-11-27T18:05:19.415Z] java.lang.RuntimeException: expected: class java.lang.IllegalArgumentException, actual: java.lang.RuntimeException: Exception not thrown
[2021-11-27T18:05:19.415Z]  at DatagramSocketMulticasting.assertThrows(DatagramSocketMulticasting.java:375)
[2021-11-27T18:05:19.415Z]  at DatagramSocketMulticasting.testJoinGroup2(DatagramSocketMulticasting.java:211)
[2021-11-27T18:05:19.415Z]  at DatagramSocketMulticasting.test(DatagramSocketMulticasting.java:100)
[2021-11-27T18:05:19.415Z]  at DatagramSocketMulticasting.main(DatagramSocketMulticasting.java:80)
[2021-11-27T18:05:19.415Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T18:05:19.415Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T18:05:19.415Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T18:05:19.415Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T18:05:19.415Z]  at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2021-11-27T18:05:19.415Z]  at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-27T18:05:19.415Z] 
[2021-11-27T18:05:19.415Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: expected: class java.lang.IllegalArgumentException, actual: java.lang.RuntimeException: Exception not thrown

[2021-11-27T18:05:19.416Z] --------------------------------------------------
[2021-11-27T18:43:20.446Z] TEST: java/net/Inet6Address/PreferIPv6AddressesTest.java

[2021-11-27T18:43:20.464Z] STDERR:
[2021-11-27T18:43:20.464Z] java.lang.RuntimeException: Expected class java.net.Inet6Address, got class java.net.Inet4Address
[2021-11-27T18:43:20.464Z]  at PreferIPv6AddressesTest.assertLoopbackAddress(PreferIPv6AddressesTest.java:115)
[2021-11-27T18:43:20.464Z]  at PreferIPv6AddressesTest.main(PreferIPv6AddressesTest.java:77)
[2021-11-27T18:43:20.464Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T18:43:20.464Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T18:43:20.464Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T18:43:20.464Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T18:43:20.464Z]  at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2021-11-27T18:43:20.464Z]  at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-27T18:43:20.464Z] 
[2021-11-27T18:43:20.464Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected class java.net.Inet6Address, got class java.net.Inet4Address

[2021-11-27T18:43:20.661Z] --------------------------------------------------
[2021-11-27T18:58:40.543Z] TEST: java/net/Inet6Address/B6558853.java

[2021-11-27T18:58:40.642Z] TEST RESULT: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 960 seconds; check console log for any additional details

[2021-11-27T18:59:23.925Z] TEST RESULT: Error. Program `/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_ppc64le_linux/openjdkbinary/j2sdk-image/bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 961574ms).

[2021-11-27T18:59:23.925Z] --------------------------------------------------
[2021-11-27T18:59:46.309Z] TEST: java/net/ipv6tests/TcpTest.java
[2021-11-27T18:58:40.642Z] --------------------------------------------------
[2021-11-27T18:59:23.920Z] TEST: java/net/Inet6Address/Scoping.java

[2021-11-27T18:59:46.311Z] STDERR:
[2021-11-27T18:59:46.313Z] java.net.SocketException: Network is unreachable
[2021-11-27T18:59:46.313Z]  at java.base/sun.nio.ch.Net.connect0(Native Method)
[2021-11-27T18:59:46.313Z]  at java.base/sun.nio.ch.Net.connect(Net.java:579)
[2021-11-27T18:59:46.313Z]  at java.base/sun.nio.ch.Net.connect(Net.java:568)
[2021-11-27T18:59:46.313Z]  at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
[2021-11-27T18:59:46.313Z]  at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[2021-11-27T18:59:46.313Z]  at java.base/java.net.Socket.connect(Socket.java:633)
[2021-11-27T18:59:46.313Z]  at java.base/java.net.Socket.connect(Socket.java:583)
[2021-11-27T18:59:46.313Z]  at java.base/java.net.Socket.<init>(Socket.java:507)
[2021-11-27T18:59:46.313Z]  at java.base/java.net.Socket.<init>(Socket.java:287)
[2021-11-27T18:59:46.313Z]  at TcpTest.test1(TcpTest.java:87)
[2021-11-27T18:59:46.313Z]  at TcpTest.main(TcpTest.java:75)
[2021-11-27T18:59:46.313Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T18:59:46.313Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T18:59:46.313Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T18:59:46.313Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T18:59:46.313Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-27T18:59:46.313Z]  at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-27T18:59:46.314Z] 
[2021-11-27T18:59:46.314Z] JavaTest Message: Test threw exception: java.net.SocketException

[2021-11-27T18:59:46.314Z] --------------------------------------------------
[2021-11-27T19:00:52.300Z] TEST: java/net/InetAddress/CheckJNI.java

[2021-11-27T19:00:52.328Z] STDERR:
[2021-11-27T19:00:52.328Z] JVMJNCK001I JNI check utility installed. Use -Xcheck:jni:help for usage
[2021-11-27T19:00:52.328Z] java.net.ConnectException: Connection timed out
[2021-11-27T19:00:52.328Z]  at java.base/sun.nio.ch.Net.connect0(Native Method)
[2021-11-27T19:00:52.328Z]  at java.base/sun.nio.ch.Net.connect(Net.java:579)
[2021-11-27T19:00:52.328Z]  at java.base/sun.nio.ch.Net.connect(Net.java:568)
[2021-11-27T19:00:52.328Z]  at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
[2021-11-27T19:00:52.328Z]  at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[2021-11-27T19:00:52.328Z]  at java.base/java.net.Socket.connect(Socket.java:633)
[2021-11-27T19:00:52.328Z]  at java.base/java.net.Socket.connect(Socket.java:583)
[2021-11-27T19:00:52.328Z]  at java.base/java.net.Socket.<init>(Socket.java:507)
[2021-11-27T19:00:52.328Z]  at java.base/java.net.Socket.<init>(Socket.java:319)
[2021-11-27T19:00:52.328Z]  at CheckJNI.testSocket(CheckJNI.java:78)
[2021-11-27T19:00:52.328Z]  at CheckJNI.main(CheckJNI.java:68)
[2021-11-27T19:00:52.328Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T19:00:52.328Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T19:00:52.328Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T19:00:52.328Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T19:00:52.328Z]  at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2021-11-27T19:00:52.328Z]  at java.base/java.lang.Thread.run(Thread.java:884)

[2021-11-27T19:00:52.341Z] --------------------------------------------------
[2021-11-27T19:08:41.049Z] TEST: java/net/Socket/LinkLocal.java

[2021-11-27T19:08:41.149Z] STDERR:
[2021-11-27T19:08:41.149Z] java.net.SocketTimeoutException: Receive timed out
[2021-11-27T19:08:41.149Z]  at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
[2021-11-27T19:08:41.149Z]  at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
[2021-11-27T19:08:41.149Z]  at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
[2021-11-27T19:08:41.149Z]  at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
[2021-11-27T19:08:41.149Z]  at LinkLocal.UdpTest(LinkLocal.java:108)
[2021-11-27T19:08:41.149Z]  at LinkLocal.TestAddress(LinkLocal.java:121)
[2021-11-27T19:08:41.149Z]  at LinkLocal.main(LinkLocal.java:156)
[2021-11-27T19:08:41.149Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T19:08:41.149Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T19:08:41.150Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T19:08:41.150Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T19:08:41.150Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-27T19:08:41.150Z]  at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-27T19:08:41.150Z] 
[2021-11-27T19:08:41.150Z] JavaTest Message: Test threw exception: java.net.SocketTimeoutException

[2021-11-27T19:08:41.150Z] --------------------------------------------------
[2021-11-27T19:15:56.847Z] TEST: java/net/ipv6tests/UdpTest.java

[2021-11-27T19:15:56.874Z] TEST RESULT: Error. Agent error: java.lang.Exception: Agent 18 timed out with a timeout of 960 seconds; check console log for any additional details
[2021-11-27T19:15:56.874Z] --------------------------------------------------
[2021-11-27T19:20:24.620Z] Test results: passed: 795; failed: 5; error: 3
[2021-11-27T19:20:35.045Z] Report written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_ppc64le_linux/jvmtest/openjdk/report/html/report.html
[2021-11-27T19:20:35.045Z] Results written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_ppc64le_linux/aqa-tests/TKG/output_16380344352847/jdk_net_0/work
[2021-11-27T19:20:35.045Z] Error: Some tests failed or other problems occurred.
[2021-11-27T19:20:35.045Z] 
[2021-11-27T19:20:35.045Z] jdk_net_0_FAILED

job/Test_openjdk17_j9_extended.openjdk_ppc64le_linux/29/

[2021-11-27T20:42:50.599Z] variation: Mode150
[2021-11-27T20:42:50.599Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2021-11-27T20:49:57.238Z] --------------------------------------------------
[2021-11-27T20:49:57.238Z] TEST: java/nio/channels/etc/ProtocolFamilies.java

[2021-11-27T20:49:57.240Z] java.lang.AssertionError: Expected UnsupportedAddressTypeException to be thrown, but nothing was thrown
[2021-11-27T20:49:57.240Z]  at org.testng.Assert.expectThrows(Assert.java:1730)
[2021-11-27T20:49:57.240Z]  at org.testng.Assert.assertThrows(Assert.java:1695)
[2021-11-27T20:49:57.240Z]  at ProtocolFamilies.dcOpenBind(ProtocolFamilies.java:227)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.240Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2021-11-27T20:49:57.240Z]  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2021-11-27T20:49:57.240Z]  at org.testng.TestRunner$$Lambda$130/0x00000000080e3018.accept(Unknown Source)
[2021-11-27T20:49:57.240Z]  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2021-11-27T20:49:57.240Z]  at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2021-11-27T20:49:57.240Z]  at org.testng.TestRunner.run(TestRunner.java:585)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2021-11-27T20:49:57.240Z]  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2021-11-27T20:49:57.240Z]  at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2021-11-27T20:49:57.240Z]  at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2021-11-27T20:49:57.240Z]  at org.testng.TestNG.runSuites(TestNG.java:1069)
[2021-11-27T20:49:57.240Z]  at org.testng.TestNG.run(TestNG.java:1037)
[2021-11-27T20:49:57.240Z]  at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.240Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.240Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.241Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-27T20:49:57.241Z]  at java.base/java.lang.Thread.run(Thread.java:884)

[2021-11-27T20:49:57.242Z] test ProtocolFamilies.scOpenConnect(null, INET, null): failure
[2021-11-27T20:49:57.242Z] java.nio.channels.UnsupportedAddressTypeException
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.Net.checkAddress(Net.java:161)
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
[2021-11-27T20:49:57.242Z]  at ProtocolFamilies.scOpenConnect(ProtocolFamilies.java:270)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.242Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner$$Lambda$130/0x00000000080e3018.accept(Unknown Source)
[2021-11-27T20:49:57.242Z]  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner.run(TestRunner.java:585)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuites(TestNG.java:1069)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.run(TestNG.java:1037)
[2021-11-27T20:49:57.242Z]  at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.242Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.242Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-27T20:49:57.242Z]  at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-27T20:49:57.242Z] test ProtocolFamilies.scOpenConnect(null, null, null): failure
[2021-11-27T20:49:57.242Z] java.net.SocketException: Network is unreachable
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.Net.connect0(Native Method)
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.Net.connect(Net.java:579)
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.Net.connect(Net.java:586)
[2021-11-27T20:49:57.242Z]  at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:853)
[2021-11-27T20:49:57.242Z]  at ProtocolFamilies.scOpenConnect(ProtocolFamilies.java:270)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.242Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2021-11-27T20:49:57.242Z]  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner$$Lambda$130/0x00000000080e3018.accept(Unknown Source)
[2021-11-27T20:49:57.242Z]  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2021-11-27T20:49:57.242Z]  at org.testng.TestRunner.run(TestRunner.java:585)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2021-11-27T20:49:57.242Z]  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.runSuites(TestNG.java:1069)
[2021-11-27T20:49:57.242Z]  at org.testng.TestNG.run(TestNG.java:1037)
[2021-11-27T20:49:57.242Z]  at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2021-11-27T20:49:57.242Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-27T20:49:57.243Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-27T20:49:57.243Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-27T20:49:57.243Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-27T20:49:57.243Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-27T20:49:57.243Z]  at java.base/java.lang.Thread.run(Thread.java:884)

This could be a machine/network issue.

JasonFengJ9 commented 1 year ago

JDK17 x86-64_linux(cent9x86-rtp-rt4-1)

[2023-10-06T21:31:39.254Z] variation: Mode150
[2023-10-06T21:31:39.254Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2023-10-06T21:40:09.422Z] TEST: java/nio/channels/etc/ProtocolFamilies.java

[2023-10-06T21:40:09.423Z] test ProtocolFamilies.dcOpenBind(null, INET6, java.lang.Class@2a1dd189): failure
[2023-10-06T21:40:09.423Z] java.lang.AssertionError: Expected UnsupportedAddressTypeException to be thrown, but nothing was thrown
[2023-10-06T21:40:09.423Z]  at org.testng.Assert.expectThrows(Assert.java:1730)
[2023-10-06T21:40:09.423Z]  at org.testng.Assert.assertThrows(Assert.java:1695)
[2023-10-06T21:40:09.423Z]  at ProtocolFamilies.dcOpenBind(ProtocolFamilies.java:227)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-10-06T21:40:09.423Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2023-10-06T21:40:09.423Z]  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2023-10-06T21:40:09.423Z]  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2023-10-06T21:40:09.423Z]  at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2023-10-06T21:40:09.423Z]  at org.testng.TestRunner.run(TestRunner.java:585)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2023-10-06T21:40:09.423Z]  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2023-10-06T21:40:09.423Z]  at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2023-10-06T21:40:09.423Z]  at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2023-10-06T21:40:09.423Z]  at org.testng.TestNG.runSuites(TestNG.java:1069)
[2023-10-06T21:40:09.423Z]  at org.testng.TestNG.run(TestNG.java:1037)
[2023-10-06T21:40:09.423Z]  at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2023-10-06T21:40:09.423Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-10-06T21:40:09.423Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2023-10-06T21:40:09.423Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2023-10-06T21:40:09.423Z]  at java.base/java.lang.Thread.run(Thread.java:857)

[2023-10-06T21:40:09.424Z] java/nio/channels/etc/ProtocolFamilies.java
[2023-10-06T21:40:09.424Z] Total tests run: 30, Passes: 25, Failures: 5, Skips: 0

[2023-10-06T22:11:51.808Z] jdk_nio_0_FAILED
JasonFengJ9 commented 7 months ago

JDK17 x86-64_linux jdk_nio_0_FAILED(cent9x86-rtp-rt5-1)

openjdk version "17.0.11" 2024-04-16
IBM Semeru Runtime Open Edition 17.0.11.0-m1 (build 17.0.11+6)
Eclipse OpenJ9 VM 17.0.11.0-m1 (build v0.44.0-release-747f86c91, JRE 17 Linux amd64-64-Bit Compressed References 20240416_706 (JIT enabled, AOT enabled)
OpenJ9   - 747f86c91
OMR      - 254af5a04
JCL      - c86cd885d3f based on jdk-17.0.11+6)

[2024-03-18T19:11:37.532Z] variation: Mode150
[2024-03-18T19:11:37.532Z] JVM_OPTIONS:  -XX:+UseCompressedOops -Xverbosegclog 

[2024-03-18T19:14:44.510Z] TEST: java/nio/channels/etc/ProtocolFamilies.java

[2024-03-18T19:14:44.511Z] test ProtocolFamilies.dcOpenBind(null, INET6, java.lang.Class@483f3857): failure
[2024-03-18T19:14:44.511Z] java.lang.AssertionError: Expected UnsupportedAddressTypeException to be thrown, but nothing was thrown
[2024-03-18T19:14:44.511Z]  at org.testng.Assert.expectThrows(Assert.java:1730)
[2024-03-18T19:14:44.511Z]  at org.testng.Assert.assertThrows(Assert.java:1695)
[2024-03-18T19:14:44.511Z]  at ProtocolFamilies.dcOpenBind(ProtocolFamilies.java:227)

[2024-03-18T19:14:44.512Z] java/nio/channels/etc/ProtocolFamilies.java
[2024-03-18T19:14:44.512Z] Total tests run: 30, Passes: 25, Failures: 5, Skips: 0

[2024-03-18T19:16:08.906Z] TEST: java/nio/channels/Selector/SelectWithConsumer.java#id0

[2024-03-18T19:16:08.907Z] test SelectWithConsumer.testReadableAndWriteable(): failure
[2024-03-18T19:16:08.907Z] java.net.SocketException: Network is unreachable
[2024-03-18T19:16:08.907Z]  at java.base/sun.nio.ch.Net.connect0(Native Method)
[2024-03-18T19:16:08.907Z]  at java.base/sun.nio.ch.Net.connect(Net.java:579)
[2024-03-18T19:16:08.907Z]  at java.base/sun.nio.ch.Net.connect(Net.java:586)
[2024-03-18T19:16:08.907Z]  at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:853)
[2024-03-18T19:16:08.907Z]  at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:285)
[2024-03-18T19:16:08.907Z]  at SelectWithConsumer.testReadableAndWriteable(SelectWithConsumer.java:170)

[2024-03-18T19:29:40.805Z] TEST: java/nio/channels/DatagramChannel/ManySourcesAndTargets.java

[2024-03-18T19:29:40.806Z] TEST RESULT: Error. Agent error: java.lang.Exception: Agent 5 timed out with a timeout of 960 seconds; check console log for any additional details
[2024-03-18T19:29:40.806Z] --------------------------------------------------
[2024-03-18T19:33:24.447Z] TEST: java/nio/channels/unixdomain/IOExchanges.java

[2024-03-18T19:33:24.448Z] TEST RESULT: Error. Program `/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 961034ms).
[2024-03-18T19:33:24.448Z] --------------------------------------------------
[2024-03-18T19:33:24.448Z] Test results: passed: 438; failed: 2; error: 2
[2024-03-18T19:33:31.431Z] Report written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17107880791468/jdk_nio_0/report/html/report.html
[2024-03-18T19:33:31.431Z] Results written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17107880791468/jdk_nio_0/work
[2024-03-18T19:33:31.431Z] Error: Some tests failed or other problems occurred.
[2024-03-18T19:33:31.431Z] -----------------------------------
[2024-03-18T19:33:31.431Z] jdk_nio_0_FAILED