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

Re-enable openjdk test - jdk_bean #20531

Open
llxia opened this issue Nov 7, 2024 · 31 comments
Open

Re-enable openjdk test - jdk_bean #20531

llxia opened this issue Nov 7, 2024 · 31 comments

Comments

@llxia
Copy link
Contributor

llxia commented Nov 7, 2024

jdk_beans got excluded as part of the general exclude a while back via #10757.

https://github.com/adoptium/aqa-tests/blob/a498becc695f7bdeaa7c4b3752c827e65aa7e123/openjdk/playlist.xml#L755

My limited testing can pass on xlinux JDK17, 21 and 23. We still need to look into xlinux JDK8 and JDK11 failures. But I think we should look into re-enabling this test.

This would help us to discover issues like https://bugs.openjdk.org/browse/JDK-8336862 early.
Presumably, we will hit the same issue on Windows: adoptium/aqa-tests#5690 (comment)

@llxia llxia added the comp:test label Nov 7, 2024
Copy link

github-actions bot commented Nov 7, 2024

Issue Number: 20531
Status: Open
Recommended Components: comp:test, comp:build, comp:vm
Recommended Assignees: pshipton, llxia, longyuzhang

@llxia
Copy link
Contributor Author

llxia commented Nov 7, 2024

@annaibm could you run the test on all platforms? Thanks

@llxia
Copy link
Contributor Author

llxia commented Nov 8, 2024

00:01:43.717  TESTING:
00:01:44.127  Directory "/home/jenkins/workspace/Grinder/aqa-tests/TKG/../TKG/output_17309940512732/jdk_beans_0/work" not found: creating
00:01:44.127  Directory "/home/jenkins/workspace/Grinder/aqa-tests/TKG/../TKG/output_17309940512732/jdk_beans_0/report" not found: creating
00:01:44.539  Error: Unexpected exception occurred! java.lang.UnsatisfiedLinkError: jdk/crypto/jniprovider/NativeCrypto.isOpenSSLFIPS()Z
00:01:44.539  java.lang.UnsatisfiedLinkError: jdk/crypto/jniprovider/NativeCrypto.isOpenSSLFIPS()Z
00:01:44.539  	at jdk.crypto.jniprovider.NativeCrypto.<clinit>(NativeCrypto.java:89)
00:01:44.539  	at sun.security.provider.SunEntries.<clinit>(SunEntries.java:104)
00:01:44.539  	at sun.security.provider.Sun.<init>(Sun.java:56)
00:01:44.539  	at java.lang.J9VMInternals.newInstanceImpl(Native Method)
00:01:44.539  	at java.lang.Class.newInstance(Class.java:2130)
00:01:44.540  	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:237)
00:01:44.540  	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:222)
00:01:44.540  	at java.security.AccessController.doPrivileged(AccessController.java:690)
00:01:44.540  	at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:222)
00:01:44.540  	at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:203)
00:01:44.540  	at sun.security.jca.ProviderList.getProvider(ProviderList.java:256)
00:01:44.540  	at sun.security.jca.ProviderList$3.get(ProviderList.java:171)
00:01:44.540  	at sun.security.jca.ProviderList$3.get(ProviderList.java:166)
00:01:44.540  	at java.util.AbstractList$Itr.next(AbstractList.java:358)
00:01:44.540  	at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:574)
00:01:44.540  	at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:208)
00:01:44.540  	at java.security.SecureRandom.<init>(SecureRandom.java:170)
00:01:44.540  	at java.io.File$TempDirectory.<clinit>(File.java:1940)
00:01:44.540  	at java.io.File.createTempFile(File.java:2049)
00:01:44.540  	at com.sun.javatest.WorkDirectory.saveInfo(WorkDirectory.java:1200)
00:01:44.540  	at com.sun.javatest.WorkDirectory.doWDinfo(WorkDirectory.java:692)
00:01:44.540  	at com.sun.javatest.WorkDirectory.<init>(WorkDirectory.java:130)
00:01:44.540  	at com.sun.javatest.WorkDirectory.createOrConvert(WorkDirectory.java:310)
00:01:44.540  	at com.sun.javatest.WorkDirectory.convert(WorkDirectory.java:259)
00:01:44.540  	at com.sun.javatest.regtest.config.TestManager.getWorkDirectory(TestManager.java:207)
00:01:44.540  	at com.sun.javatest.regtest.tool.Tool.createParameters(Tool.java:1737)
00:01:44.540  	at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1328)
00:01:44.540  	at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1075)
00:01:44.540  	at com.sun.javatest.regtest.tool.Tool.main(Tool.java:147)
00:01:44.540  	at com.sun.javatest.regtest.Main.main(Main.java:58)
00:01:44.540  -----------------------------------
00:01:44.540  jdk_beans_0_FAILED
00:01:44.540  -----------------------------------
  1. java/beans/XMLDecoder/8028054/TestConstructorFinder.java.TestConstructorFinder
Execution failed: `main' threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed 
java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
	at java.base/java.lang.invoke.OpenJDKCompileStub.OpenJDKCompileStubThrowError(OpenJDKCompileStub.java:38)
	at java.base/java.lang.invoke.MethodHandle.intrinsicName(MethodHandle.java:930)
	at java.base/java.lang.invoke.MethodHandleImpl.makeIntrinsic(MethodHandleImpl.java:1450)
	at java.base/java.lang.invoke.MethodHandleImpl$ArrayAccessor.<clinit>(MethodHandleImpl.java:164)
	at java.base/java.lang.Class.forNameImpl(Native Method)
	at java.base/java.lang.Class.forName(Class.java:347)
	at Task.getClasses(Task.java:134)
	at TestConstructorFinder.main(TestConstructorFinder.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:572)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:835)

JavaTest Message: Test threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
  1. java/beans/XMLDecoder/8028054/TestMethodFinder.java.TestMethodFinder
Execution failed: `main' threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed 

@pshipton
Copy link
Member

pshipton commented Nov 8, 2024

The failure on jdk8 is already resolved via ibmruntimes/openj9-openjdk-jdk8#780

@babsingh pls take a look at the jdk11 failures.

@llxia
Copy link
Contributor Author

llxia commented Nov 8, 2024

Thanks @pshipton

With the latest JDK8, the NativeCrypto.isOpenSSLFIPS error is gone. However, there are 4 subtest failures, 2 of which are the same as those in JDK11. (link).

00:01:16.905  openjdk version "1.8.0_442-internal"
00:01:16.905  OpenJDK Runtime Environment (build 1.8.0_442-internal-_2024_11_08_03_05-b00)
00:01:16.905  Eclipse OpenJ9 VM (build master-26133ff75ca, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20241108_912 (JIT enabled, AOT enabled)
00:01:16.905  OpenJ9   - 26133ff75ca
00:01:16.905  OMR      - a34c903d0c8
00:01:16.905  JCL      - 70a9dda9400 based on jdk8u442-b01)
00:06:30.188  FAILED test targets:
00:06:30.188  	jdk_beans_0 - Test results: passed: 346; failed: 4 
00:06:30.188  		Failed test cases: 
00:06:30.188  			TEST: java/beans/Introspector/Test5102804.java
00:06:30.188          TEST: java/beans/PropertyEditor/Test6397609.java
00:06:30.188          TEST: java/beans/XMLDecoder/8028054/TestConstructorFinder.java
00:06:30.188          TEST: java/beans/XMLDecoder/8028054/TestMethodFinder.java

annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 8, 2024
- Enable jck_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
babsingh added a commit to babsingh/openj9 that referenced this issue Nov 12, 2024
OpenJ9 JDK8 and JDK11 currently use OpenJ9 MethodHandles.

Enabling jdk_bean in JDK8 and JDK11 triggers certain OpenJDK
MethodHandles code paths. However, OpenJ9 MethodHandles are in use
for JDK8 and JDK11, so OpenJDK MethodHandles paths shouldn't be
activated. To address this, a MethodHandleImpl stub was added,
used only with OpenJ9 MethodHandles, and not when OpenJDK
MethodHandles are enabled.

Related: eclipse-openj9#20531

Signed-off-by: Babneet Singh <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jck_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
babsingh added a commit to babsingh/openj9 that referenced this issue Nov 12, 2024
OpenJ9 JDK8 and JDK11 currently use OpenJ9 MethodHandles.

Enabling jdk_bean in JDK8 and JDK11 triggers certain OpenJDK
MethodHandles code paths. However, OpenJ9 MethodHandles are in use
for JDK8 and JDK11, so OpenJDK MethodHandles paths shouldn't be
activated. To address this, a MethodHandleImpl stub was added,
used only with OpenJ9 MethodHandles, and not when OpenJDK
MethodHandles are enabled.

Related: eclipse-openj9#20531

Signed-off-by: Babneet Singh <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux except for java version 8 and 11

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux for all java versions

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Nov 12, 2024
- Enable jdk_beans on xlinux for all java versions

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
@annaibm
Copy link
Contributor

annaibm commented Nov 14, 2024

TEST TARGETS SUMMARY
16:15:15  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:15:15  FAILED test targets:
16:15:15  	jdk_beans_0 - Test results: passed: 280; failed: 2; error: 68 
16:15:15  		Failed test cases: 
16:15:15  			TEST: java/beans/Introspector/Test5102804.java
16:15:15          TEST: java/beans/EventHandler/Test6179222.java
16:15:15          TEST: java/beans/EventHandler/Test6788531.java
16:15:15          TEST: java/beans/PropertyEditor/Test6397609.java
16:15:15          TEST: java/beans/Introspector/Test7195106.java
16:15:15          TEST: java/beans/PropertyChangeSupport/Test4353056.java
16:15:15          TEST: java/beans/PropertyChangeSupport/Test4682386.java
16:15:15          TEST: java/beans/PropertyChangeSupport/TestSynchronization.java
16:15:15          TEST: java/beans/PropertyEditor/6380849/TestPropertyEditor.java
16:15:15          TEST: java/beans/PropertyEditor/TestColorClass.java
16:15:15          TEST: java/beans/PropertyEditor/TestColorClassJava.java
16:15:15          TEST: java/beans/PropertyEditor/TestColorClassNull.java
16:15:15          TEST: java/beans/PropertyEditor/TestColorClassValue.java
16:15:15          TEST: java/beans/PropertyEditor/TestFontClass.java
16:15:15          TEST: java/beans/PropertyEditor/TestFontClassJava.java
16:15:15          TEST: java/beans/PropertyEditor/TestFontClassNull.java
16:15:15          TEST: java/beans/PropertyEditor/TestFontClassValue.java
16:15:15          TEST: java/beans/Statement/Test4653179.java
16:15:15          TEST: java/beans/XMLDecoder/8028054/TestConstructorFinder.java
16:15:15          TEST: java/beans/XMLDecoder/8028054/TestMethodFinder.java
16:15:15          TEST: java/beans/XMLDecoder/spec/TestObject.java
16:15:15          TEST: java/beans/XMLEncoder/6777487/TestBox.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_AWTKeyStroke.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_BorderLayout.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_CardLayout.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Color.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Component.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Cursor.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Dimension.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Font.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_GradientPaint.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_GridBagConstraints.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_GridBagLayout.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Insets.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_LinearGradientPaint.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_RadialGradientPaint.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_Rectangle.java
16:15:15          TEST: java/beans/XMLEncoder/java_awt_ScrollPane.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_BevelBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_EmptyBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_EtchedBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_LineBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_MatteBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_SoftBevelBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_StrokeBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_border_TitledBorder.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_Box_Filler.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_Box.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_BoxLayout.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_DefaultCellEditor.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_JButton.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_JLayeredPane.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_JSplitPane.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_JTree.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_KeyStroke.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_OverlayLayout.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_BorderUIResource_EmptyBorderUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_BorderUIResource_LineBorderUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_BorderUIResource_MatteBorderUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_BorderUIResource_TitledBorderUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_ColorUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/javax_swing_plaf_FontUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/sun_swing_PrintColorUIResource.java
16:15:15          TEST: java/beans/XMLEncoder/Test4631471.java
16:15:15          TEST: java/beans/XMLEncoder/Test4652928.java
16:15:15          TEST: java/beans/XMLEncoder/Test4903007.java
16:15:15          TEST: java/beans/XMLEncoder/Test6437265.java
16:15:15          TEST: java/beans/XMLEncoder/Test6501431.java
16:15:15          TEST: java/beans/XMLEncoder/Test6570354.java
16:15:15          TEST: java/beans/XMLEncoder/Test4822050.java
16:15:15          
16:15:15  
16:15:15  TOTAL: 1   EXECUTED: 1   PASSED: 0   FAILED: 1   SKIPPED: 0
16:15:15  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:15:15  
 JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
11:39:26  java.lang.Error: Reference is not collected
11:39:26  	at Test5102804.main(Test5102804.java:48)
11:39:26  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:39:26  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:39:26  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:39:26  	at java.lang.reflect.Method.invoke(Method.java:503)
11:39:26  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
11:39:26  	at java.lang.Thread.run(Thread.java:822)
11:39:26  
11:39:26  JavaTest Message: Test threw exception: java.lang.Error: Reference is not collected
11:39:26  JavaTest Message: shutting down test
11:39:26  
11:39:26  STATUS:Failed.`main' threw exception: java.lang.Error: Reference is not collected

@pshipton
Copy link
Member

@dmitripivkine pls take a look at the jdk8 failure.

@pshipton
Copy link
Member

pshipton commented Nov 14, 2024

@babsingh pls take a look at the jdk11 xmac failure:
java/beans/XMLDecoder/8028054/TestMethodFinder.java.TestMethodFinder
java/beans/XMLDecoder/8028054/TestConstructorFinder.java.TestConstructorFinder

11:42:23  java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
11:42:23  	at java.base/java.lang.invoke.OpenJDKCompileStub.OpenJDKCompileStubThrowError(OpenJDKCompileStub.java:38)
11:42:23  	at java.base/java.lang.invoke.MethodHandle.intrinsicName(MethodHandle.java:930)
11:42:23  	at java.base/java.lang.invoke.MethodHandleImpl.makeIntrinsic(MethodHandleImpl.java:1450)
11:42:23  	at java.base/java.lang.invoke.MethodHandleImpl$ArrayAccessor.<clinit>(MethodHandleImpl.java:164)
11:42:23  	at java.base/java.lang.Class.forNameImpl(Native Method)
11:42:23  	at java.base/java.lang.Class.forName(Class.java:347)
11:42:23  	at Task.getClasses(Task.java:134)
11:42:23  	at TestMethodFinder.main(TestMethodFinder.java:43)

@pshipton
Copy link
Member

There are some JIT asserts on xmac jdk21, which matches #20267
java/beans/Introspector/Test8027905.java
java/beans/Introspector/Test8040656.java

11:43:01  Assertion failed at /Users/jenkins/workspace/Build_JDK21_x86-64_mac_Nightly/omr/compiler/codegen/OMRTreeEvaluator.cpp:590: false
11:43:01  VMState: 0x0005ff04
11:43:01  	badILOp BadILOp cannot be evaluated
11:43:01  
11:43:01  compiling java/lang/ClassLoader.defineClassInternal(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Z)Ljava/lang/Class; at level: very-hot (profiling)
11:43:01  
11:43:01  Unhandled exception
11:43:01  Type=Unhandled trap vmState=0x0005ff04
11:43:01  J9Generic_Signal_Number=00000108 Signal_Number=00000005 Error_Value=00000000 Signal_Code=00000001
11:43:01  Handler1=00000000048F0480 Handler2=0000000004644570
11:43:01  RDI=0000000000004B03 RSI=0000000000000005 RAX=0000000000000000 RBX=0000000000000005
11:43:01  RCX=0000700007121998 RDX=0000000000000000 R8=FFFFFFFFFFFFFFE9 R9=00006000033DC020
11:43:01  R10=0000700007128000 R11=0000000000000246 R12=0000000000004B03 R13=0000000041A8E288
11:43:01  R14=0000700007128000 R15=0000000000000016
11:43:01  RIP=00007FF8159567A2 GS=0000 FS=0000 RSP=0000700007121998
11:43:01  RFlags=0000000000000246 CS=0007 RBP=00007000071219C0 ERR=0000000002000148
11:43:01  TRAPNO=0200014800000085 CPU=0000020001480000 FAULTVADDR=0000000000000000
11:43:01  XMM0=00000000000000ff (f: 255.000000, d: 1.259867e-321)
11:43:01  XMM1=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM2=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM3=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM4=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM5=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM6=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM7=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM8=0f0f0f0f0f0f0f0f (f: 252645136.000000, d: 3.815737e-236)
11:43:01  XMM9=0f0f0f0f0f0f0f0f (f: 252645136.000000, d: 3.815737e-236)
11:43:01  XMM10=0302020102010100 (f: 33620224.000000, d: 3.524484e-294)
11:43:01  XMM11=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM12=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM13=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  XMM15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
11:43:01  Module=/usr/lib/system/libsystem_kernel.dylib
11:43:01  Module_base_address=00007FF81594E000 Symbol=__pthread_kill
11:43:01  Symbol_address=00007FF815956798
11:43:01  
11:43:01  Method_being_compiled=java/lang/ClassLoader.defineClassInternal(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Z)Ljava/lang/Class;
11:43:01  Target=2_90_20241107_361 (Mac OS X 14.2.1)
11:43:01  CPU=amd64 (12 logical CPUs) (0x400000000 RAM)
11:43:01  ----------- Stack Backtrace -----------
11:43:01  __pthread_kill+0xb (0x00007FF8159567A3 [libsystem_kernel.dylib+0x87a3])
11:43:01  pthread_kill+0x106 (0x00007FF81598EF30 [libsystem_pthread.dylib+0x5f30])
11:43:01  raise+0x18 (0x00007FF81586FEA8 [libsystem_c.dylib+0x41ea8])
11:43:01  _ZN2TR4trapEv+0x41 (0x0000000006A2E8D1 [libj9jit29.dylib+0x3c38d1])
11:43:01  _ZN2TRL18va_fatal_assertionEPKciS1_S1_P13__va_list_tag+0xb (0x0000000006A2EABB [libj9jit29.dylib+0x3c3abb])
11:43:01  _ZN2TR15fatal_assertionEPKciS1_S1_z+0x79 (0x0000000006A2EB39 [libj9jit29.dylib+0x3c3b39])
11:43:01  _ZN3OMR13TreeEvaluator16badILOpEvaluatorEPN2TR4NodeEPNS1_13CodeGeneratorE+0x2a (0x00000000069B97DA [libj9jit29.dylib+0x34e7da])
11:43:01  _ZN3OMR13CodeGenerator8evaluateEPN2TR4NodeE+0x44 (0x00000000069BB804 [libj9jit29.dylib+0x350804])
11:43:01  _ZN2J913CodeGenerator22doInstructionSelectionEv+0x276f (0x000000000669A5DF [libj9jit29.dylib+0x2f5df])
11:43:01  _ZN3OMR12CodeGenPhase32performInstructionSelectionPhaseEPN2TR13CodeGeneratorEPNS1_12CodeGenPhaseE+0x165 (0x00000000069C65A5 [libj9jit29.dylib+0x35b5a5])
11:43:01  _ZN3OMR12CodeGenPhase10performAllEv+0xbb (0x00000000069C7E5B [libj9jit29.dylib+0x35ce5b])
11:43:01  _ZN3OMR13CodeGenerator12generateCodeEv+0x131 (0x00000000069BFFA1 [libj9jit29.dylib+0x354fa1])
11:43:01  _ZN3OMR11Compilation7compileEv+0x748 (0x00000000069E5888 [libj9jit29.dylib+0x37a888])
11:43:01  _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadPNS_11CompilationEP17TR_ResolvedMethodR11TR_J9VMBaseP19TR_OptimizationPlanRKNS_16SegmentAllocatorE+0x7ea (0x00000000066CE69A [libj9jit29.dylib+0x6369a])
11:43:01  _ZN2TR28CompilationInfoPerThreadBase14wrappedCompileEP13J9PortLibraryPv+0x50f (0x00000000066CC03F [libj9jit29.dylib+0x6103f])
11:43:01  omrsig_protect+0x392 (0x0000000004643062 [libj9prt29.dylib+0x21062])
11:43:01  _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadP21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x3a7 (0x00000000066C7097 [libj9jit29.dylib+0x5c097])
11:43:01  _ZN2TR24CompilationInfoPerThread12processEntryER21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x209 (0x00000000066C6749 [libj9jit29.dylib+0x5b749])
11:43:01  _ZN2TR24CompilationInfoPerThread14processEntriesEv+0x1a8 (0x00000000066C5AB8 [libj9jit29.dylib+0x5aab8])
11:43:01  _ZN2TR24CompilationInfoPerThread3runEv+0xde (0x00000000066C587E [libj9jit29.dylib+0x5a87e])
11:43:01  _Z30protectedCompilationThreadProcP13J9PortLibraryPN2TR24CompilationInfoPerThreadE+0x90 (0x00000000066C5640 [libj9jit29.dylib+0x5a640])
11:43:01  omrsig_protect+0x392 (0x0000000004643062 [libj9prt29.dylib+0x21062])
11:43:01  _Z21compilationThreadProcPv+0x245 (0x00000000066C3A75 [libj9jit29.dylib+0x58a75])
11:43:01  thread_wrapper+0x13a (0x00000000045A66BA [libj9thr29.dylib+0xa6ba])
11:43:01  _pthread_start+0x63 (0x00007FF81598F202 [libsystem_pthread.dylib+0x6202])
11:43:01  ---------------------------------------

@babsingh
Copy link
Contributor

re #20531 (comment): JDK11 xmac failures have already been fixed via #20570, which was merged 2 days ago. The grinder uses a JDK with changes only till 7 Nov 24 and doesn't include the fix. Using a newer JDK, which includes the fix, should resolve the issue.

11:36:45  openjdk version "11.0.25-internal" 2024-10-15
11:36:45  OpenJDK Runtime Environment (build 11.0.25-internal+0-adhoc.jenkins.BuildJDK11x86-64macNightly)
11:36:45  Eclipse OpenJ9 VM (build master-26133ff75ca, JRE 11 Mac OS X amd64-64-Bit Compressed References 20241107_945 (JIT enabled, AOT enabled)
11:36:45  OpenJ9   - 26133ff75ca <--- Only contains changes till 7 Nov 24
11:36:45  OMR      - a34c903d0c8
11:36:45  JCL      - abd834e5356 based on jdk-11.0.25+9)

@dmitripivkine
Copy link
Contributor

Regarding OOM case for Test5102804:
There is attempt to allocate 14m object to 16m heap.

1STGCHTYPE     GC History
3STHSTTYPE     16:37:56:294294148 GMT j9mm.101 -   J9AllocateIndexableObject() returning NULL! 14665856 bytes requested for object of class 000000001293E700 from memory space 'Generational' id=0000600002FD92E0
3STHSTTYPE     16:37:56:294273490 GMT j9mm.134 -   Allocation failure end: newspace=3735552/4194304 oldspace=12239088/12582912 loa=125952/125952

This allocation has failed because neither Tenure nor Nursery can take this object. OpenJ9 currently does not support expanding Tenure over Nursery (particularly for fully expanded heap -Xmx16m -Xms16m) to fulfill such allocation. If we need this test pass the only way is limit Nursery size by -Xmn512k.

@pshipton
Copy link
Member

@dmitripivkine I think the OOM is intentional. The test catches the OOM and checks if a Reference has been freed.

@dmitripivkine
Copy link
Contributor

Ok, thanks, I missed it. Do we know which Reference it is watching?

@pshipton
Copy link
Member

pshipton commented Dec 16, 2024

The editor failures seem related to the "WindowServer is not available" problem. A simple testcase trying to fetch the java.awt.Font editor on amac results in

Exception in thread "main" java.awt.AWTError: WindowServer is not available
        at java.desktop/sun.lwawt.macosx.LWCToolkit.<clinit>(LWCToolkit.java:167)
        at java.base/java.lang.Class.forNameImpl(Native Method)
        at java.base/java.lang.Class.forName(Class.java:345)
        at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:588)
        at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:583)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:693)
        at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:582)
        at java.desktop/com.sun.beans.editors.FontEditor.<init>(FontEditor.java:38)
        at java.base/java.lang.J9VMInternals.newInstanceImpl(Native Method)
        at java.base/java.lang.Class.newInstance(Class.java:2394)
        at java.desktop/com.sun.beans.finder.InstanceFinder.instantiate(InstanceFinder.java:98)
        at java.desktop/com.sun.beans.finder.InstanceFinder.instantiate(InstanceFinder.java:110)
        at java.desktop/com.sun.beans.finder.PropertyEditorFinder.instantiate(PropertyEditorFinder.java:93)
        at java.desktop/com.sun.beans.finder.PropertyEditorFinder.instantiate(PropertyEditorFinder.java:48)
        at java.desktop/com.sun.beans.finder.InstanceFinder.find(InstanceFinder.java:81)
        at java.desktop/com.sun.beans.finder.PropertyEditorFinder.find(PropertyEditorFinder.java:83)
        at java.desktop/java.beans.PropertyEditorManager.findEditor(PropertyEditorManager.java:92)
        at FindEditor.main(FindEditor.java:8)

LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Jan 3, 2025
- The test exclusion on macOS for versions 17,21,23

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 6, 2025
- Exclude jdk_beans subtests for amac/xmac for versions 8,24,25

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 7, 2025
- Exclude jdk_beans subtests for amac/xmac for versions 8,24,25

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 15, 2025
- Exclude jdk_beans subtests for amac/xmac for versions 8,24,25

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
JasonFengJ9 pushed a commit to adoptium/aqa-tests that referenced this issue Jan 16, 2025
- Exclude jdk_beans subtests for amac/xmac for versions 8,24,25

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 21, 2025
- Exclude `java/beans/Beans/TypoInBeanDescription.java` on AIX JDK11+

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 21, 2025
- Exclude `java/beans/Beans/TypoInBeanDescription.java` on AIX JDK17+

related: eclipse-openj9/openj9#20531, runtimes/backlog#1589

Signed-off-by: Anna Babu Palathingal <[email protected]>
llxia pushed a commit to adoptium/aqa-tests that referenced this issue Jan 21, 2025
- Exclude `java/beans/Beans/TypoInBeanDescription.java` on AIX JDK17+

related: eclipse-openj9/openj9#20531, runtimes/backlog#1589

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 12, 2025
- Exclude jdk_beans subtests: `Test5102804` &
`Test6397609` for AIX jdk8

related: eclipse-openj9/openj9#20531
Signed-off-by: Anna Babu Palathingal <[email protected]>
@annaibm
Copy link
Contributor

annaibm commented Feb 13, 2025

AIX JDK8 tests for jdk_beans:

Failed subtests:

VMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
java.lang.Error: Reference is not collected
   at Test5102804.main(Test5102804.java:48)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:503)
   at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
   at java.lang.Thread.run(Thread.java:822)
JavaTest Message: Test threw exception: java.lang.Error: Reference is not collected
JavaTest Message: shutting down test
STATUS:Failed.'main' threw exception: java.lang.Error: Reference is not collected
Execution failed: 'main' threw exception: java.lang.Error: the editor is lost  

AIX JDK 11+ tests for jdk_beans:

Failed subtest:

  • java/beans/Beans/TypoInBeanDescription.java
Stacktrace
Program '/home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 961889ms).    
Standard Output
thread 50 0millis: Couldn't load library jsound: java.lang.UnsatisfiedLinkError: Can't load jsound
Timeout signalled after 960 seconds
    
Standard Error
Could not load native libraries for ScreencastHelper
Xlib: unexpected async reply (sequence 0xc7)!

mentioned in issue: https://github.ibm.com/runtimes/backlog/issues/1589

annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 13, 2025
- Exclude `java/beans/Beans/TypoInBeanDescription.java` on AIX JDK11

related: eclipse-openj9/openj9#20531, runtimes/backlog#1589

Signed-off-by: Anna Babu Palathingal <[email protected]>
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Feb 13, 2025
- Exclude `java/beans/Beans/TypoInBeanDescription.java` on AIX JDK11

related: eclipse-openj9/openj9#20531, runtimes/backlog#1589

Signed-off-by: Anna Babu Palathingal <[email protected]>
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Feb 18, 2025
- Exclude jdk_beans subtests: `Test5102804` &
`Test6397609` for AIX jdk8

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 18, 2025
- Enable jdk_beans on aix for all java versions

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 20, 2025
- Enable jdk_beans on aarch64_mac for JDK17+

related: eclipse-openj9/openj9#20531
Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 24, 2025
- Enable jdk_beans on aarch64_mac for JDK17+

related: eclipse-openj9/openj9#20531
Signed-off-by: Anna Babu Palathingal <[email protected]>
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this issue Feb 24, 2025
- Enable jdk_beans on aarch64_mac for JDK17+

related: eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 25, 2025
- Exclude jdk_beans subtests for win for versions 8,17,23

related:eclipse-openj9/openj9#20531
Signed-off-by: Anna Babu Palathingal <[email protected]>
@annaibm
Copy link
Contributor

annaibm commented Feb 25, 2025

WIN JDK8 tests for jdk_beans:
Failed subtests:

  1. java/beans/Introspector/Test5102804.java
Execution failed: ‘main' threw exception: java.lang.Error: Reference is not collected    
JVMDUMP055I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError", exception "Java heap space" at 2025/02/19 15:12:48 - please wait.
JVMDUMP032I JVM requested System dump using 'C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\core.20250219.151248.7728.0001.dmp' in response to an event
JVMDUMP010I System dump written to C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\core.20250219.151248.7728.0001.dmp
JVMDUMP032I JVM requested Heap dump using 'C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\heapdump.20250219.151248.7728.0002.phd' in response to an event
JVMDUMP010I Heap dump written to C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\heapdump.20250219.151248.7728.0002.phd
JVMDUMP032I JVM requested Java dump using 'C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\javacore.20250219.151248.7728.0003.txt' in response to an event
JVMDUMP010I Java dump written to C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\javacore.20250219.151248.7728.0003.txt
JVMDUMP032I JVM requested Snap dump using 'C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\Snap.20250219.151248.7728.0004.trc' in response to an event
JVMDUMP010I Snap dump written to C:\Users\jenkins\workspace\Grinder\aqa-tests\TKG\output_17400065958390\jdk_beans_0\work\java\beans\Introspector\Test5102804\Snap.20250219.151248.7728.0004.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
java.lang.Error: Reference is not collected
	at Test5102804.main(Test5102804.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:503)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:822)

JavaTest Message: Test threw exception: java.lang.Error: Reference is not collected
JavaTest Message: shutting down test

STATUS:Failed.’main' threw exception: java.lang.Error: Reference is not collected
    
  1. java/beans/PropertyEditor/Test6397609.java
java.lang.Error: the editor is lost
	at Test6397609.main(Test6397609.java:42)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:503)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:822)

JavaTest Message: Test threw exception: java.lang.Error: the editor is lost
JavaTest Message: shutting down test

STATUS:Failed. ‘main' threw exception: java.lang.Error: the editor is lost

WIN JDK17/JDK23 tests for jdk_beans:
Failed subtests:

  1. java/beans/PropertyEditor/TestColorClass.java.TestColorClass
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Color    
  1. java/beans/PropertyEditor/TestColorClassJava.java.TestColorClassJava
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Color    
  1. java/beans/PropertyEditor/TestColorClassNull.java.TestColorClassNull
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Color    
  1. java/beans/PropertyEditor/TestColorClassValue.java.TestColorClassValue
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Color    
  1. java/beans/XMLEncoder/java_awt_ScrollPane.java.java_awt_ScrollPane
Execution failed: `main' threw exception: java.awt.HeadlessException: The application does not have desktop access, but this program performed an operation which requires it. 
  1. java/beans/PropertyEditor/6380849/TestPropertyEditor.java.TestPropertyEditor
Execution failed: `main' threw exception: java.lang.Error: expected editor is not found    
  1. java/beans/PropertyEditor/TestFontClass.java.TestFontClass
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Font  
  1. java/beans/PropertyEditor/TestFontClassJava.java.TestFontClassJava
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Font  
  1. java/beans/PropertyEditor/TestFontClassNull.java.TestFontClassNull
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Font  
  1. java/beans/PropertyEditor/TestFontClassValue.java.TestFontClassValue
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Font  

annaibm added a commit to annaibm/aqa-tests that referenced this issue Feb 27, 2025
- Exclude jdk_beans subtests for win for versions 8,17,23

related:eclipse-openj9/openj9#20531
Signed-off-by: Anna Babu Palathingal <[email protected]>
llxia pushed a commit to adoptium/aqa-tests that referenced this issue Feb 27, 2025
- Exclude jdk_beans subtests for win for versions 8,17,23

related:eclipse-openj9/openj9#20531

Signed-off-by: Anna Babu Palathingal <[email protected]>
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

6 participants