Skip to content
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

JDK21 NestAttributeTest_0_FAILED AssertionError: should throw exception on getNestMembers #16781

Closed
JasonFengJ9 opened this issue Feb 27, 2023 · 1 comment

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Feb 27, 2023

Failure link

https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.functional_ppc64_aix_OpenJDK_testList_0/124/consoleFull

15:41:19  openjdk version "21-internal" 2023-09-19
15:41:19  OpenJDK Runtime Environment (build 21-internal-adhoc.****.BuildJDKnextppc64aixOpenJDK)
15:41:19  Eclipse OpenJ9 VM (build master-f44193e2549, JRE 21 AIX ppc64-64-Bit Compressed References 20230224_413 (JIT enabled, AOT enabled)
15:41:19  OpenJ9   - f44193e2549
15:41:19  OMR      - 8d5adac3991
15:41:19  JCL      - 8237a5ec2c1 based on jdk-21+10)

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

Optional info

Failure output (captured from console output)

15:58:50  variation: NoOptions
15:58:50  JVM_OPTIONS:  

15:58:52  FAILED: testGetNestMembersAPIInValidHost
15:58:52  java.lang.AssertionError: should throw exception on getNestMembers
15:58:52  	at org.testng.Assert.fail(Assert.java:96)
15:58:52  	at org.openj9.test.nestmates.NestAttributeTest.testGetNestMembersAPIInValidHost(NestAttributeTest.java:355)
15:58:52  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
15:58:52  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
15:58:52  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
15:58:52  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
15:58:52  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
15:58:52  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
15:58:52  	at org.testng.TestRunner.privateRun(TestRunner.java:648)
15:58:52  	at org.testng.TestRunner.run(TestRunner.java:505)
15:58:52  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
15:58:52  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
15:58:52  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
15:58:52  	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
15:58:52  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
15:58:52  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
15:58:52  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
15:58:52  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
15:58:52  	at org.testng.TestNG.runSuites(TestNG.java:1049)
15:58:52  	at org.testng.TestNG.run(TestNG.java:1017)
15:58:52  	at org.testng.TestNG.privateMain(TestNG.java:1354)
15:58:52  	at org.testng.TestNG.main(TestNG.java:1323)
15:58:52  
15:58:52  FAILED: testGetNestMembersAPIInValidHostWrongPackage
15:58:52  java.lang.AssertionError: should throw exception on getNestMembers
15:58:52  	at org.testng.Assert.fail(Assert.java:96)
15:58:52  	at org.openj9.test.nestmates.NestAttributeTest.testGetNestMembersAPIInValidHostWrongPackage(NestAttributeTest.java:376)
15:58:52  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
15:58:52  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
15:58:52  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
15:58:52  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
15:58:52  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
15:58:52  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
15:58:52  	at org.testng.TestRunner.privateRun(TestRunner.java:648)
15:58:52  	at org.testng.TestRunner.run(TestRunner.java:505)
15:58:52  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
15:58:52  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
15:58:52  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
15:58:52  	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
15:58:52  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
15:58:52  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
15:58:52  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
15:58:52  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
15:58:52  	at org.testng.TestNG.runSuites(TestNG.java:1049)
15:58:52  	at org.testng.TestNG.run(TestNG.java:1017)
15:58:52  	at org.testng.TestNG.privateMain(TestNG.java:1354)
15:58:52  	at org.testng.TestNG.main(TestNG.java:1323)
15:58:52  
15:58:52  FAILED: testGetNestMembersAPINestMemberWrongNestHost
15:58:52  java.lang.AssertionError: should throw exception on getNestMembers
15:58:52  	at org.testng.Assert.fail(Assert.java:96)
15:58:52  	at org.openj9.test.nestmates.NestAttributeTest.testGetNestMembersAPINestMemberWrongNestHost(NestAttributeTest.java:416)
15:58:52  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
15:58:52  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
15:58:52  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
15:58:52  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
15:58:52  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
15:58:52  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
15:58:52  	at org.testng.TestRunner.privateRun(TestRunner.java:648)
15:58:52  	at org.testng.TestRunner.run(TestRunner.java:505)
15:58:52  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
15:58:52  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
15:58:52  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
15:58:52  	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
15:58:52  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
15:58:52  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
15:58:52  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
15:58:52  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
15:58:52  	at org.testng.TestNG.runSuites(TestNG.java:1049)
15:58:52  	at org.testng.TestNG.run(TestNG.java:1017)
15:58:52  	at org.testng.TestNG.privateMain(TestNG.java:1354)
15:58:52  	at org.testng.TestNG.main(TestNG.java:1323)
15:58:52  
15:58:52  FAILED: testGetNestMembersAPINestMemberWrongPackage
15:58:52  java.lang.AssertionError: should throw exception on getNestMembers
15:58:52  	at org.testng.Assert.fail(Assert.java:96)
15:58:52  	at org.openj9.test.nestmates.NestAttributeTest.testGetNestMembersAPINestMemberWrongPackage(NestAttributeTest.java:397)
15:58:52  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
15:58:52  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
15:58:52  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
15:58:52  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
15:58:52  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
15:58:52  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
15:58:52  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
15:58:52  	at org.testng.TestRunner.privateRun(TestRunner.java:648)
15:58:52  	at org.testng.TestRunner.run(TestRunner.java:505)
15:58:52  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
15:58:52  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
15:58:52  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
15:58:52  	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
15:58:52  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
15:58:52  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
15:58:52  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
15:58:52  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
15:58:52  	at org.testng.TestNG.runSuites(TestNG.java:1049)
15:58:52  	at org.testng.TestNG.run(TestNG.java:1017)
15:58:52  	at org.testng.TestNG.privateMain(TestNG.java:1354)
15:58:52  	at org.testng.TestNG.main(TestNG.java:1323)
15:58:52  
15:58:52  
15:58:52  ===============================================
15:58:52      NestAttributeTest
15:58:52      Tests run: 27, Failures: 4, Skips: 0
15:58:52  ===============================================
15:58:52  
15:58:52  
15:58:52  ===============================================
15:58:52  Java11andUp suite
15:58:52  Total tests run: 27, Failures: 4, Skips: 0
15:58:52  ===============================================
15:58:52  
15:58:52  -----------------------------------
15:58:52  NestAttributeTest_0_FAILED

50x grinder - all failed

Also occurred at other platforms such as https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.functional_x86-64_windows_OpenJDK_testList_0/127/consoleFull.

@pshipton
Copy link
Member

This must have been resolved since we no longer see this failure on jdk21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants