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

openjdk: switch from hotspot_jre to hotspot_jdk #5646

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

zzambers
Copy link
Contributor

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

Testing:
x86-64_linux: OK

@smlambert
Copy link
Contributor

smlambert commented Sep 26, 2024

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

zzambers commented Sep 30, 2024

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

compiler/8009761/Test8009761.java

  • there was recent change to this test by JDK-8021775
  • after this test seems to require server JVM as it requests optimization level4 which is not available on client VM AFAIK
  • should probably be excluded win32 and arm32

gc/g1/TestNoEagerReclaimOfHumongousRegions.java

compiler/6891750/Test6891750.java

  • problem is:
JavaTest Message: Problem cleaning up the following threads:
Thread-10
  at Test6891750.test(Test6891750.java:69)
  at Test6891750.run(Test6891750.java:88)

segfault of jtreg on arm32

  • not sure why that is, seems random... but not regression

@zzambers
Copy link
Contributor Author

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

@zzambers
Copy link
Contributor Author

PR with excludes: #5659

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

Successfully merging this pull request may close these issues.

3 participants