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

JTReg Test Failure: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java #6963

Closed
M-Davies opened this issue Sep 4, 2019 · 3 comments
Closed

Comments

@M-Davies
Copy link

M-Davies commented Sep 4, 2019

Failure link

https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/259a016054953a431bbcb198848372c7830116ad/test/jdk/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java#L1 (JDK11)
https://github.com/ibmruntimes/openj9-openjdk-jdk8/blob/c85b84056711e44d349a1d967eca1e7ace723566/jdk/test/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java#L1 (JDK8)
are both consistently failing on openj9 builds (Hotspot unaffected)

  • test category, openjdk
  • OS/architecture, all platforms
15:35:14  openjdk version "1.8.0_232"
15:35:14  OpenJDK Runtime Environment (build 1.8.0_232-201909030344-b03)
15:35:14  Eclipse OpenJ9 VM (build master-cc749fa0a, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20190903_405 (JIT enabled, AOT enabled)
15:35:14  OpenJ9   - cc749fa0a
15:35:14  OMR      - 5628a974
15:35:14  JCL      - efd729851b based on jdk8u232-b03)

Optional info

Failure output (captured from console output)

STDOUT:
15:37:07  -Dseed=7805373624086692045
15:37:07  -DtestLimit=2000
15:37:07  STDERR:
15:37:07  java.lang.Error: Unexpected exception
15:37:07  	at LambdaFormTestCase.<clinit>(LambdaFormTestCase.java:73)
15:37:07  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:37:07  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
15:37:07  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
15:37:07  	at java.lang.reflect.Method.invoke(Method.java:498)
15:37:07  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
15:37:07  	at java.lang.Thread.run(Thread.java:819)
15:37:07  Caused by: java.lang.NoSuchFieldException: debugName
15:37:07  	at java.lang.Class.getDeclaredField(Class.java:820)
15:37:07  	at LambdaFormTestCase.<clinit>(LambdaFormTestCase.java:67)
15:37:07  	... 6 more
15:37:07  STATUS:Failed.`main' threw exception: java.lang.Error: Unexpected exception
@pshipton pshipton added this to To do in JTReg failures via automation Sep 4, 2019
@pshipton
Copy link
Member

pshipton commented Sep 4, 2019

I expect this test is using internals that don't apply to OpenJ9

 java.lang.NoSuchFieldException: debugName
15:37:07  	at java.lang.Class.getDeclaredField(Class.java:820)

@M-Davies
Copy link
Author

M-Davies commented Sep 5, 2019

I also suspected this was the case based on similar issues (#6700, #6660). I'll close this and add it to the permanent exclusions list

@M-Davies
Copy link
Author

M-Davies commented Sep 5, 2019

java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java also fails in the same way. Will exclude this too

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

No branches or pull requests

2 participants