clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
519 stars 29 forks source link

[java] 14 openjdk tests for SA failed on java11-basic package #1144

Open vivanov-gh opened 5 years ago

vivanov-gh commented 5 years ago

The openjdk tests serviceability/sa/ClhsdbAttach.java serviceability/sa/ClhsdbCDSJstackPrintAll.java serviceability/sa/ClhsdbFindPC.java serviceability/sa/ClhsdbInspect.java serviceability/sa/ClhsdbJdis.java serviceability/sa/ClhsdbJstack.java serviceability/sa/ClhsdbPrintAs.java serviceability/sa/ClhsdbPstack.java serviceability/sa/ClhsdbSource.java serviceability/sa/ClhsdbThread.java serviceability/sa/ClhsdbWhere.java serviceability/sa/JhsdbThreadInfoTest.java serviceability/sa/TestClhsdbJstackLock.java serviceability/sa/TestJhsdbJstackLock.java serviceability/sa/TestJhsdbJstackMixed.java failed on the java11-basic bundle for the ClearLinux with message: "sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163) "

This tests passed on the RHEL7.7

How to reproduce:

  1. checkout openjdk ws: hg clone https://hg.openjdk.java.net/jdk-updates/jdk11u
  2. checkout latest build for the jtreg harness https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg
  3. set java11 as default java in system, JT_HOME and PATH variables
  4. run tests as jtreg hotspot/jtreg/serviceability/sa/ClhsdbAttach.java
vivanov-gh commented 4 years ago

2 more tests failed with same error message: "DebuggerException: get_thread_regs failed for a lwp" jdk11u.git/test/jdk/sun/tools/jhsdb/HeapDumpTest.java jdk11u.git/test/jdk/sun/tools/jhsdb/AlternateHashingTest.java