-
Notifications
You must be signed in to change notification settings - Fork 752
jdk_jmx_0 FAILED in javax/management/MBeanServer/OldMBeanServerTest.java got exception javax.management.InstanceNotFoundException #20777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Issue Number: 20777 |
@JasonFengJ9 is this cross platform or single platform? You may want to exclude the failing test until we can look at it. @tajila this test was recently enabled. We need to determine if the failure can be fixed, or if the test should be permanently excluded. |
openjdk8_j9_extended.openjdk_ppc64le_linux |
@fengxue-IS , could you look at if this is something we should fix in OpenJ9, or we should permanently exclude the test. |
Jack is working on virtual thread now. @theresa-m Could you look at this ? |
Yes I'll take a look. |
I think this is failing due to an error in OpenJ9. The test class mentions it is checking that a custom MBeanServer aligns with JMX 1.2 specification. I'm not sure which part it is referencing however I did find in the ManagementFactory javadoc that a JVM always has an instance of MemoryMXBean which is the missing mbean thats causing the error. I'm still investigating why this isn't being added properly for j9 for this scenario. |
@keithc-ca @amicic Not sure if you know the history/reason of this ? |
I confirmed that J9 does try to add these mbeans but |
The behavior of OpenJDK and the test suggest that they should be DynamicMBean type. Is there a problem changing OpenJ9 to do that? |
I will give it a try. |
The priority of doing that is a different question. Atm no user is complaining. |
Failure link
From internal Test_openjdk8_j9_extended.openjdk_aarch64_linux_testList_1 (ubu22-aarch64-14)
Rerun in Grinder - Change TARGET to run only the failed test targets
Optional info
Failure output (captured from console output)
50x internal Grinder - all failed
The text was updated successfully, but these errors were encountered: