JDK-8230129 : Add jtreg "serviceability/sa/ClhsdbInspect.java" to graal problem list
Type:Sub-task
Component:hotspot
Sub-Component:compiler
Affected Version:11,12,13,14
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2019-08-26
Updated:2019-09-26
Resolved:2019-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Shouldn't this be a SubTask of a master bug? Where's the master bug for fixing the underlying issue?
29-08-2019
Difficult to say. Maybe the root cause and the fix is the same but the tests fail when running with Graal as a JIT compiler. JDK-8216181 is about running with AOT.
28-08-2019
isn't it a dup (or subtask) of JDK-8216181?
28-08-2019
At Twitter we are excluding all these tests with Graal for JDK 11 because they fail for similar reasons:
serviceability/sa/ClhsdbInspect.java
serviceability/sa/ClhsdbJdis.java
serviceability/sa/ClhsdbJhisto.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
27-08-2019
initial ILW = single serviceability/sa/ClhsdbInspect test failure; with graal; disable graal = MLM = P4
(can this be a sa test issue?)
27-08-2019
[extracts from chldb_err.log]
--------------------------------------------------
TEST: serviceability/sa/ClhsdbInspect.java
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr
STDOUT:
Starting the ClhsdbInspect test
........
hsdb> Error: sun.jvm.hotspot.debugger.UnmappedAddressException: ffe80f7c0
hsdb>
line 145:
cmd=inspect 0x00000000ffd02790
jdk.test.lib.process.OutputAnalyzer@64d22619
STDERR:
Command line: ['/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk/bin/java' '-ea' '-esa' '-Xmx768m' '-server' '-XX:+UnlockExperimentalVMOptions' '-XX:+EnableJVMCI' '-XX:+UseJVMCICompiler' '-Djvmci.Compiler=graal' '-Djdk.test.docker.image.name=ubuntu' '-Djdk.test.docker.image.version=18.04' '-Djava.net.preferIPv4Stack=true' '-cp' '/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d:/home/leijin01/workspace/ci_scripts/jtworks/classes/0/test/lib' 'LingeredAppWithLock' 'ba3a2350-1b67-4f18-9ce7-2179892ef553.lck' ]
...........
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr
at ClhsdbInspect.main(ClhsdbInspect.java:101)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:293)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:153)
at ClhsdbLauncher.run(ClhsdbLauncher.java:202)
at ClhsdbInspect.main(ClhsdbInspect.java:96)
... 6 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr
27-08-2019
May be related to JDK-8216181 - '[AOT] SA tests fail when AOT is enabled'