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.29k stars 722 forks source link

JDK8 Mauve[gnu.testlet.java.beans.PropertyDescriptor.constructorTest2] - IllegalArgumentException: Can not copy a non-root Method #14143

Open JasonFengJ9 opened 2 years ago

JasonFengJ9 commented 2 years ago

Failure link

From an internal build job/Test_openjdk8_j9_special.system_x86-64_mac_testList_2/109/(osxrt1):

openjdk version "1.8.0_322"
IBM Semeru Runtime Open Edition (build 1.8.0_322-b04)
Eclipse OpenJ9 VM (build master-2871b64e3, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20211210_266 (JIT enabled, AOT enabled)
OpenJ9   - 2871b64e3
OMR      - 5a958d708
JCL      - 854c9aec based on jdk8u322-b04)

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

Optional info

Failure output (captured from console output)

[2021-12-11T16:04:11.395Z] variation: Mode553
[2021-12-11T16:04:11.395Z] JVM_OPTIONS:  -XX:+UseCompressedOops -Xgcpolicy:balanced -Xjit:count=0 

[2021-12-11T16:04:31.474Z] LT  11:04:30.233 - Starting thread. Suite=0 thread=0
[2021-12-11T16:04:53.325Z] LT  11:04:50.793 - Completed 6.9%. Number of tests started=2352
[2021-12-11T16:05:11.015Z] LT  16:05:09.680 - First failure detected by thread: load-0. Not creating dumps as no dump generation is requested for this load test
[2021-12-11T16:05:11.015Z] LT  16:05:09.689 - Test failed
[2021-12-11T16:05:11.015Z] LT    Failure num.  = 1
[2021-12-11T16:05:11.015Z] LT    Test number   = 547
[2021-12-11T16:05:11.015Z] LT    Test details  = 'Mauve[gnu.testlet.java.beans.PropertyDescriptor.constructorTest2]'
[2021-12-11T16:05:11.015Z] LT    Suite number  = 0
[2021-12-11T16:05:11.015Z] LT    Thread number = 0
[2021-12-11T16:05:11.015Z] LT  >>> Captured test output >>>

[2021-12-11T16:05:11.016Z] LT  Test failed:
[2021-12-11T16:05:11.016Z] LT  java.lang.InternalError: java.lang.reflect.InvocationTargetException
[2021-12-11T16:05:11.016Z] LT   at java.lang.Class.newInternalError(Class.java:3980)
[2021-12-11T16:05:11.016Z] LT   at java.lang.Class.copyMethods(Class.java:4162)
[2021-12-11T16:05:11.016Z] LT   at java.lang.Class.cacheMethods(Class.java:4222)
[2021-12-11T16:05:11.016Z] LT   at java.lang.Class.getMethods(Class.java:1630)
[2021-12-11T16:05:11.016Z] LT   at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336)
[2021-12-11T16:05:11.016Z] LT   at java.beans.Introspector.internalFindMethod(Introspector.java:1378)
[2021-12-11T16:05:11.016Z] LT   at java.beans.Introspector.internalFindMethod(Introspector.java:1418)
[2021-12-11T16:05:11.016Z] LT   at java.beans.Introspector.findMethod(Introspector.java:1450)
[2021-12-11T16:05:11.016Z] LT   at java.beans.PropertyDescriptor.getWriteMethod(PropertyDescriptor.java:298)
[2021-12-11T16:05:11.016Z] LT   at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:110)
[2021-12-11T16:05:11.016Z] LT   at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:71)
[2021-12-11T16:05:11.016Z] LT   at gnu.testlet.java.beans.PropertyDescriptor.constructorTest2.constructor1Tests(constructorTest2.java:600)
[2021-12-11T16:05:11.016Z] LT   at gnu.testlet.java.beans.PropertyDescriptor.constructorTest2.test(constructorTest2.java:700)
[2021-12-11T16:05:11.016Z] LT   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-12-11T16:05:11.016Z] LT   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2021-12-11T16:05:11.016Z] LT   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-12-11T16:05:11.016Z] LT   at java.lang.reflect.Method.invoke(Method.java:498)
[2021-12-11T16:05:11.016Z] LT   at net.adoptopenjdk.loadTest.adaptors.MauveAdaptor.executeTest(MauveAdaptor.java:74)
[2021-12-11T16:05:11.016Z] LT   at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
[2021-12-11T16:05:11.016Z] LT   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-12-11T16:05:11.016Z] LT   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-12-11T16:05:11.016Z] LT   at java.lang.Thread.run(Thread.java:827)
[2021-12-11T16:05:11.016Z] LT  Caused by: java.lang.reflect.InvocationTargetException
[2021-12-11T16:05:11.016Z] LT   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[2021-12-11T16:05:11.016Z] LT   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-12-11T16:05:11.016Z] LT   at java.lang.reflect.Method.invoke(Method.java:498)
[2021-12-11T16:05:11.016Z] LT   at java.lang.Class.copyMethods(Class.java:4156)
[2021-12-11T16:05:11.016Z] LT   ... 20 more
[2021-12-11T16:05:11.016Z] LT  Caused by: java.lang.IllegalArgumentException: Can not copy a non-root Method
[2021-12-11T16:05:11.016Z] LT   at java.lang.reflect.Method.copy(Method.java:151)
[2021-12-11T16:05:11.016Z] LT   ... 24 more
[2021-12-11T16:05:11.016Z] LT  <<<

[2021-12-11T16:09:30.458Z] MauveSingleInvocLoad_special_5m_13_FAILED

50x grinder at job/Grinder/19982/

JasonFengJ9 commented 1 year ago

Internal build(ub18-aarch64-4)

openjdk version "1.8.0_362-beta"
IBM Semeru Runtime Open Edition (build 1.8.0_362-beta-202301170123-b07)
Eclipse OpenJ9 VM (build master-082682ae5, JRE 1.8.0 Linux aarch64-64-Bit Compressed References 20230117_540 (JIT enabled, AOT enabled)
OpenJ9   - 082682ae5
OMR      - ec81a72de
JCL      - cd84b623c based on jdk8u362-b07)

[2023-01-17T06:32:43.627Z] variation: Mode107-OSRG
[2023-01-17T06:32:43.627Z] JVM_OPTIONS:  -Xgcpolicy:optthruput -Xdebug -Xrunjdwp:transport=dt_socket,address=8888,server=y,onthrow=no.pkg.foo,launch=echo -Xjit:enableOSR,enableOSROnGuardFailure,count=1,disableAsyncCompilation 

[2023-01-17T06:37:35.976Z] LT  Test failed:
[2023-01-17T06:37:35.976Z] LT  java.lang.InternalError: java.lang.reflect.InvocationTargetException
[2023-01-17T06:37:35.976Z] LT   at java.lang.Class.newInternalError(Class.java:3995)
[2023-01-17T06:37:35.976Z] LT   at java.lang.Class.copyMethods(Class.java:4177)
[2023-01-17T06:37:35.976Z] LT   at java.lang.Class.cacheMethods(Class.java:4237)
[2023-01-17T06:37:35.976Z] LT   at java.lang.Class.getMethods(Class.java:1632)
[2023-01-17T06:37:35.976Z] LT   at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336)
[2023-01-17T06:37:35.976Z] LT   at java.beans.Introspector.internalFindMethod(Introspector.java:1378)
[2023-01-17T06:37:35.976Z] LT   at java.beans.Introspector.internalFindMethod(Introspector.java:1418)
[2023-01-17T06:37:35.976Z] LT   at java.beans.Introspector.findMethod(Introspector.java:1450)
[2023-01-17T06:37:35.976Z] LT   at java.beans.Introspector.findMethod(Introspector.java:1430)
[2023-01-17T06:37:35.976Z] LT   at java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:229)
[2023-01-17T06:37:35.976Z] LT   at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:106)
[2023-01-17T06:37:35.976Z] LT   at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:71)
[2023-01-17T06:37:35.976Z] LT   at gnu.testlet.java.beans.PropertyDescriptor.constructorTest2.constructor1Tests(constructorTest2.java:508)
[2023-01-17T06:37:35.976Z] LT   at gnu.testlet.java.beans.PropertyDescriptor.constructorTest2.test(constructorTest2.java:700)
[2023-01-17T06:37:35.976Z] LT   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-01-17T06:37:35.976Z] LT   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-01-17T06:37:35.976Z] LT   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-17T06:37:35.976Z] LT   at java.lang.reflect.Method.invoke(Method.java:498)
[2023-01-17T06:37:35.976Z] LT   at net.adoptopenjdk.loadTest.adaptors.MauveAdaptor.executeTest(MauveAdaptor.java:74)
[2023-01-17T06:37:35.976Z] LT   at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
[2023-01-17T06:37:35.976Z] LT   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2023-01-17T06:37:35.976Z] LT   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2023-01-17T06:37:35.976Z] LT   at java.lang.Thread.run(Thread.java:826)
[2023-01-17T06:37:35.976Z] LT  Caused by: java.lang.reflect.InvocationTargetException
[2023-01-17T06:37:35.976Z] LT   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[2023-01-17T06:37:35.976Z] LT   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-17T06:37:35.976Z] LT   at java.lang.reflect.Method.invoke(Method.java:498)
[2023-01-17T06:37:35.976Z] LT   at java.lang.Class.copyMethods(Class.java:4171)
[2023-01-17T06:37:35.976Z] LT   ... 21 more
[2023-01-17T06:37:35.976Z] LT  Caused by: java.lang.IllegalArgumentException: Can not copy a non-root Method
[2023-01-17T06:37:35.976Z] LT   at java.lang.reflect.Method.copy(Method.java:151)
[2023-01-17T06:37:35.976Z] LT   ... 25 more

[2023-01-17T06:38:11.025Z] MauveMultiThrdLoad_special_5m_23_FAILED

50x grinder - all passed

pshipton commented 1 year ago

The grinder passed.

pshipton commented 8 months ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_special.system_x86-64_windows_Release_testList_2/77 MauveSingleInvocLoad_special_5m_17

06:53:57  LT  10:53:54.657 - Test failed
06:53:57  LT    Failure num.  = 1
06:53:57  LT    Test number   = 546
06:53:57  LT    Test details  = 'Mauve[gnu.testlet.java.beans.PropertyDescriptor.constructorTest1]'
06:53:57  LT    Suite number  = 0
06:53:57  LT    Thread number = 0
06:53:57  LT  >>> Captured test output >>>
06:53:57  LT  Test failed:
06:53:57  LT  java.lang.InternalError: java.lang.reflect.InvocationTargetException
06:53:57  LT    at java.lang.Class.newInternalError(Class.java:4010)
06:53:57  LT    at java.lang.Class.copyMethods(Class.java:4192)
06:53:57  LT    at java.lang.Class.cacheMethods(Class.java:4252)
06:53:57  LT    at java.lang.Class.getMethods(Class.java:1652)
06:53:57  LT    at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336)
06:53:57  LT    at java.beans.Introspector.internalFindMethod(Introspector.java:1378)
06:53:57  LT    at java.beans.Introspector.internalFindMethod(Introspector.java:1418)
06:53:57  LT    at java.beans.Introspector.findMethod(Introspector.java:1450)
06:53:57  LT    at java.beans.Introspector.findMethod(Introspector.java:1430)
06:53:57  LT    at java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:229)
06:53:57  LT    at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:106)
06:53:57  LT    at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:71)
06:53:57  LT    at gnu.testlet.java.beans.PropertyDescriptor.constructorTest1.test(constructorTest1.java:49)
06:53:57  LT    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06:53:57  LT    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
06:53:57  LT    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06:53:57  LT    at java.lang.reflect.Method.invoke(Method.java:503)
06:53:57  LT    at net.adoptopenjdk.loadTest.adaptors.MauveAdaptor.executeTest(MauveAdaptor.java:74)
06:53:57  LT    at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
06:53:57  LT    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
06:53:57  LT    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
06:53:57  LT    at java.lang.Thread.run(Thread.java:826)
06:53:57  LT  Caused by: java.lang.reflect.InvocationTargetException
06:53:57  LT    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
06:53:57  LT    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06:53:57  LT    at java.lang.reflect.Method.invoke(Method.java:503)
06:53:57  LT    at java.lang.Class.copyMethods(Class.java:4186)
06:53:57  LT    ... 20 more
06:53:57  LT  Caused by: java.lang.IllegalArgumentException: Can not copy a non-root Method
06:53:57  LT    at java.lang.reflect.Method.copy(Method.java:156)
06:53:57  LT    ... 24 more