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.3k stars 723 forks source link

jdk_rmi_1_FAILED NPE at InheritedChannelNotServerSocket.main(InheritedChannelNotServerSocket.java:124) #15671

Open JasonFengJ9 opened 2 years ago

JasonFengJ9 commented 2 years ago

Failure link

From an internal build(rhel7s390x-4-6):

openjdk version "1.8.0_345"
IBM Semeru Runtime Open Edition (build 1.8.0_345-b01)
Eclipse OpenJ9 VM (build openj9-0.33.0, JRE 1.8.0 Linux s390x-64-Bit Compressed References 20220804_417 (JIT enabled, AOT enabled)
OpenJ9   - 04a55b45b
OMR      - b58aa2708
JCL      - f2d89babf5 based on jdk8u345-b01)

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

Optional info

Failure output (captured from console output)

[2022-08-04T21:40:30.943Z] variation: Mode650
[2022-08-04T21:40:30.943Z] JVM_OPTIONS:  -XX:-UseCompressedOops 

[2022-08-04T21:41:57.056Z] TEST: java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java

[2022-08-04T21:41:57.058Z] STDERR:
[2022-08-04T21:41:57.058Z] 
[2022-08-04T21:41:57.058Z] Regression test for bug 6261402
[2022-08-04T21:41:57.058Z] 
[2022-08-04T21:41:57.058Z] export callback object and bind in registry
[2022-08-04T21:41:57.058Z] java.lang.NullPointerException
[2022-08-04T21:41:57.058Z]  at InheritedChannelNotServerSocket.main(InheritedChannelNotServerSocket.java:124)
[2022-08-04T21:41:57.058Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-08-04T21:41:57.058Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-08-04T21:41:57.058Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-08-04T21:41:57.058Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2022-08-04T21:41:57.058Z]  at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2022-08-04T21:41:57.058Z]  at java.lang.Thread.run(Thread.java:827)
[2022-08-04T21:41:57.058Z] 
[2022-08-04T21:41:57.058Z] JavaTest Message: Test threw exception: java.lang.NullPointerException

[2022-08-04T21:41:57.058Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
[2022-08-04T21:41:57.059Z] --------------------------------------------------
[2022-08-04T21:45:24.928Z] Test results: passed: 121; failed: 1
[2022-08-04T21:45:24.928Z] Report written to /home/jenkins/workspace/Test_openjdk8_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/report/html/report.html
[2022-08-04T21:45:24.928Z] Results written to /home/jenkins/workspace/Test_openjdk8_j9_extended.openjdk_s390x_linux/aqa-tests/TKG/output_16596429206194/jdk_rmi_1/work
[2022-08-04T21:45:24.928Z] Error: Some tests failed or other problems occurred.
[2022-08-04T21:45:24.928Z] 
[2022-08-04T21:45:24.928Z] jdk_rmi_1_FAILED

50x internal grinder on java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java - passed

JasonFengJ9 commented 1 year ago

JDK8 0.36.0 build(rhel8x64-fips3-1)

[2023-01-13T20:29:32.385Z] variation: Mode150
[2023-01-13T20:29:32.385Z] JVM_OPTIONS:  -XX:+UseCompressedOops  -Dsemeru.fips=true

[2023-01-13T20:30:59.948Z] TEST: java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java

[2023-01-13T20:30:59.948Z] STDERR:
[2023-01-13T20:30:59.948Z] export callback object and bind in registry
[2023-01-13T20:30:59.948Z] java.lang.NullPointerException
[2023-01-13T20:30:59.948Z]  at RmidViaInheritedChannel.main(RmidViaInheritedChannel.java:122)
[2023-01-13T20:30:59.948Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-01-13T20:30:59.948Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-01-13T20:30:59.948Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-13T20:30:59.948Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2023-01-13T20:30:59.948Z]  at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2023-01-13T20:30:59.948Z]  at java.lang.Thread.run(Thread.java:826)
[2023-01-13T20:30:59.948Z] 
[2023-01-13T20:30:59.948Z] JavaTest Message: Test threw exception: java.lang.NullPointerException'

[2023-01-13T20:35:03.801Z] jdk_rmi_0_FAILED

50x internal grinder - passed