adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
130 stars 308 forks source link

openjdk: switch from hotspot_jre to hotspot_jdk #5646

Closed zzambers closed 2 days ago

zzambers commented 1 week ago

Aqa-tests currently has hotspot jre test group. There are few more test in hotspot jdk test group.

Testing: x86-64_linux: OK

smlambert commented 1 week ago

Try other platforms: sparcv9_solaris: https://ci.adoptium.net/job/Grinder/10999 win32: https://ci.adoptium.net/job/Grinder/11000/ - 1 testcase failure: compiler/8009761/Test8009761.java not compiled

10:24:53  STDOUT:
10:24:53  CompilerOracle: exclude Test8009761.m2
10:24:53  WB error: invalid compilation level 4
10:24:53  STDERR:
10:24:53  java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
10:24:53    at Test8009761.main(Test8009761.java:263)
10:24:53    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:24:53    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10:24:53    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:24:53    at java.lang.reflect.Method.invoke(Method.java:498)
10:24:53    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
10:24:53    at java.lang.Thread.run(Thread.java:750)
10:24:53  
10:24:53  JavaTest Message: Test threw exception: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
10:24:53  JavaTest Message: shutting down test
10:24:53  
10:24:53  STATUS:Failed.`main' threw exception: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled

arm32: https://ci.adoptium.net/job/Grinder/11001/

10:00:36  TESTING:
10:00:36  Directory "/home/jenkins/workspace/Grinder/aqa-tests/TKG/../TKG/output_17273592352865/hotspot_jdk_2/work" not found: creating
10:00:36  Directory "/home/jenkins/workspace/Grinder/aqa-tests/TKG/../TKG/output_17273592352865/hotspot_jdk_2/report" not found: creating
10:00:40  XML output with verification to /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17273592352865/hotspot_jdk_2/work
10:01:13  #
10:01:13  # A fatal error has been detected by the Java Runtime Environment:
10:01:13  #
10:01:13  #  SIGSEGV (0xb) at pc=0xeb4946e4, pid=2115140, tid=0xc5fff460
10:01:13  #
10:01:13  # JRE version: OpenJDK Runtime Environment (8.0_432-b04) (build 1.8.0_432-beta-202409241124-b04)
10:01:13  # Java VM: OpenJDK Client VM (25.432-b04 mixed mode linux-aarch32 )
10:01:13  # Problematic frame:
10:01:13  # j  com.sun.org.apache.xerces.internal.impl.XMLScanner.setProperty(Ljava/lang/String;Ljava/lang/Object;)V+3
10:01:13  #
10:01:13  # Core dump written. Default location: /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17273592352865/hotspot_jdk_2/core or core.2115140
10:01:13  #
10:01:13  # An error report file with more information is saved as:
10:01:13  # /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17273592352865/hotspot_jdk_2/hs_err_pid2115140.log
10:01:13  #
10:01:13  # If you would like to submit a bug report, please visit:
10:01:13  #   https://github.com/adoptium/adoptium-support/issues
10:01:13  #
10:01:16  Aborted (core dumped)
10:01:16  -----------------------------------
10:01:16  hotspot_jdk_2_FAILED
zzambers commented 1 week ago

This one is not new test AFAIK (needs_jdk does not contain compiler tests): compiler/8009761/Test8009761.java maybe unstable one?

arm32: seems like jtreg itself segfaulted :/

I'll try to rerun them

zzambers commented 4 days ago

I have tried to run these again and compare them to current master/hotspot_jre:

this PR / hotspot_jdk win32: 1 FAILURE compiler/8009761/Test8009761.java.Test8009761 arm32: 2 FAILURES

compiler/6891750/Test6891750.java.Test6891750
gc/g1/TestNoEagerReclaimOfHumongousRegions.java.TestNoEagerReclaimOfHumongousRegions
compiler/8009761/Test8009761.java.Test8009761

master / hotspot_jre win32: 1 FAIURE compiler/8009761/Test8009761.java.Test8009761 arm32: SEGFAUT in jtreg itself arm32(rerun): 3 FAILURES

compiler/6891750/Test6891750.java.Test6891750
gc/g1/TestNoEagerReclaimOfHumongousRegions.java.TestNoEagerReclaimOfHumongousRegions
compiler/8009761/Test8009761.java.Test8009761
zzambers commented 4 days ago

Analysis: There does not seem to be regression to current master/hotspot_jre (including jtreg segfault on arm32). Details:

compiler/8009761/Test8009761.java

gc/g1/TestNoEagerReclaimOfHumongousRegions.java

compiler/6891750/Test6891750.java

segfault of jtreg on arm32

zzambers commented 4 days ago

I'll do excludes as necessary. @smlambert thanks for trying additional platforms.

zzambers commented 4 days ago

PR with excludes: https://github.com/adoptium/aqa-tests/pull/5659