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

sanity.functional JCL_TEST_Java-Security_SE80 test_doPrivilegedFrameStackWalking unexpected exception #8309

Closed
pshipton opened this issue Jan 15, 2020 · 1 comment · Fixed by #8312

Comments

@pshipton
Copy link
Member

https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/28
JCL_TEST_Java-Security_SE80_0
test_doPrivilegedFrameStackWalking
java.lang.AssertionError: FAIL: unexpected exception.
at org.testng.Assert.fail(Assert.java:85) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.openj9.test.java.security.Test_AccessController.test_doPrivilegedFrameStackWalking(Test_AccessController.java:394) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/jvmtest/functional/Java8andUp/GeneralTest.jar)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.reflect.Method.invoke(Method.java:498) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestRunner.privateRun(TestRunner.java:648) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestRunner.run(TestRunner.java:505) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunner.run(SuiteRunner.java:364) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.runSuites(TestNG.java:1049) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.run(TestNG.java:1017) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.privateMain(TestNG.java:1354) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
at org.testng.TestNG.main(TestNG.java:1323) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdk-tests/TKG/lib/testng.jar)
Caused by: java.lang.Error: Unable to read java.lang.invoke.SecurityFrame.class bytes
at java.lang.invoke.SecurityFrameInjector$1.run(SecurityFrameInjector.java:103) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.SecurityFrameInjector$1.run(SecurityFrameInjector.java:96) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.security.AccessController.doPrivileged(AccessController.java:678) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.SecurityFrameInjector.initializeSecurityFrameClassBytes(SecurityFrameInjector.java:96) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.SecurityFrameInjector.wrapHandleWithInjectedSecurityFrame(SecurityFrameInjector.java:129) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.SecurityFrameInjector.wrapHandleWithInjectedSecurityFrameIfRequired(SecurityFrameInjector.java:207) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:547) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at org.openj9.test.java.security.Test_AccessController.test_doPrivilegedFrameStackWalking(Test_AccessController.java:387) from sun.misc.Launcher$AppClassLoader@16ed779a(file:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/jvmtest/functional/Java8andUp/GeneralTest.jar)
... 24 more
Caused by: java.io.IOException: length cannot be negative: -1
at sun.misc.IOUtils.readFully(IOUtils.java:305) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
at java.lang.invoke.SecurityFrameInjector$1.run(SecurityFrameInjector.java:100) from /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_s390x_linux_OpenJDK8/openjdkbinary/j2sdk-image/jre/lib/rt.jar
... 31 more

@DanHeidinga
Copy link
Member

See comment #8308 (comment)

Both of these look to be the same issue

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

Successfully merging a pull request may close this issue.

2 participants