-------------------------------------------------- TEST: serviceability/sa/ClhsdbInspect.java TEST JDK: /home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.007 seconds messages: command: build ClhsdbInspect reason: Named class compiled on demand elapsed time (seconds): 0.007 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 REASON: User specified action: run main/othervm/timeout=480 ClhsdbInspect TIME: 188.449 seconds messages: command: main ClhsdbInspect reason: User specified action: run main/othervm/timeout=480 ClhsdbInspect Mode: othervm [/othervm specified] elapsed time (seconds): 188.449 configuration: STDOUT: Starting the ClhsdbInspect test Started LingeredApp with pid 26300 Starting clhsdb against 26300 [2019-08-07T03:18:51.269293Z] Gathering output for process 26335 [2019-08-07T03:19:45.952157Z] Waiting for completion for process 26335 [2019-08-07T03:19:45.952893Z] Waiting for completion finished for process 26335 Warning! JS Engine can't start, some commands will not be available. hsdb> Deadlock Detection: No deadlocks found. "main" #1 prio=5 tid=0x0000ffff9c024000 nid=0x66bd waiting on condition [0x0000ffffa28d2000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x000000080012b8d8 (Interpreted frame) - jdk.test.lib.apps.LingeredApp.main(java.lang.String[]) @bci=54, line=501, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc0ad70 (Interpreted frame) - LingeredAppWithLock.main(java.lang.String[]) @bci=72, line=50, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc076b8 (Interpreted frame) Locked ownable synchronizers: - None "Reference Handler" #2 daemon prio=10 tid=0x0000ffff9c3f2000 nid=0x66c7 waiting on condition [0x0000ffff7c263000] java.lang.Thread.State: RUNNABLE JavaThread state: _thread_blocked - java.lang.ref.Reference.waitForReferencePendingList() @bci=0, pc=0x0000ffff7f868780, Method*=0x0000000800015430 (Interpreted frame) - java.lang.ref.Reference.processPendingReferences() @bci=0, line=241, pc=0x0000ffff7f861378, Method*=0x0000000800015598 (Interpreted frame) - java.lang.ref.Reference$ReferenceHandler.run() @bci=0, line=213, pc=0x0000ffff7f861378, Method*=0x000000080034db90 (Interpreted frame) Locked ownable synchronizers: - None "Finalizer" #3 daemon prio=8 tid=0x0000ffff9c3f4800 nid=0x66c8 in Object.wait() [0x0000ffff6d7fd000] java.lang.Thread.State: WAITING (on object monitor) JavaThread state: _thread_blocked - java.lang.Object.wait(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x0000000800426ae0 (Interpreted frame) - waiting on <0x00000000ffd02790> (a java.lang.ref.ReferenceQueue$Lock) - java.lang.ref.ReferenceQueue.remove(long) @bci=59, line=155, pc=0x0000ffff7f861378, Method*=0x000000080034cd18 (Interpreted frame) - locked <0x00000000ffd02790> (a java.lang.ref.ReferenceQueue$Lock) - java.lang.ref.ReferenceQueue.remove() @bci=2, line=176, pc=0x0000ffff7f861260, Method*=0x000000080034cd80 (Interpreted frame) - java.lang.ref.Finalizer$FinalizerThread.run() @bci=37, line=170, pc=0x0000ffff7f861260, Method*=0x0000000800349c98 (Interpreted frame) Locked ownable synchronizers: - None "Signal Dispatcher" #4 daemon prio=9 tid=0x0000ffff9c3fb000 nid=0x66c9 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE JavaThread state: _thread_blocked Locked ownable synchronizers: - None "Common-Cleaner" #21 daemon prio=8 tid=0x0000ffff9c44c000 nid=0x66d1 in Object.wait() [0x0000ffff6cbfe000] java.lang.Thread.State: TIMED_WAITING (on object monitor) JavaThread state: _thread_blocked - java.lang.Object.wait(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x0000000800426ae0 (Interpreted frame) - waiting on <0x00000000ffd54368> (a java.lang.ref.ReferenceQueue$Lock) - java.lang.ref.ReferenceQueue.remove(long) @bci=59, line=155, pc=0x0000ffff7f861378, Method*=0x000000080034cd18 (Interpreted frame) - locked <0x00000000ffd54368> (a java.lang.ref.ReferenceQueue$Lock) - jdk.internal.ref.CleanerImpl.run() @bci=65, line=148, pc=0x0000ffff7f861260, Method*=0x00000008002984c8 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=830, pc=0x0000ffff7f8613d0, Method*=0x000000080012a640 (Interpreted frame) - jdk.internal.misc.InnocuousThread.run() @bci=20, line=134, pc=0x0000ffff7f861378, Method*=0x0000000800294a60 (Interpreted frame) Locked ownable synchronizers: - None "Thread-0" #23 prio=5 tid=0x0000ffff9c4e3000 nid=0x66d7 waiting on condition [0x0000ffff2fdfb000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x000000080012b8d8 (Interpreted frame) - LingeredAppWithLock.lockMethod(java.lang.Object) @bci=7, line=32, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc07590 (Interpreted frame) - locked <0x00000000ffc9cd38> (a java.lang.Class for LingeredAppWithLock) - LingeredAppWithLock.lambda$main$0() @bci=2, line=40, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc078c8 (Interpreted frame) - LingeredAppWithLock$$Lambda$14.run() @bci=0, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc06ea8 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=830, pc=0x0000ffff7f8613d0, Method*=0x000000080012a640 (Interpreted frame) Locked ownable synchronizers: - None "Thread-1" #24 prio=5 tid=0x0000ffff9c4e5000 nid=0x66d8 waiting for monitor entry [0x0000ffff2fbfc000] java.lang.Thread.State: BLOCKED (on object monitor) JavaThread state: _thread_blocked - LingeredAppWithLock.lockMethod(java.lang.Object) @bci=4, line=32, pc=0x0000ffff7f87de10, Method*=0x0000ffff6dc07590 (Interpreted frame) - waiting to lock <0x00000000ffc9cd38> (a java.lang.Class for LingeredAppWithLock) - LingeredAppWithLock.lambda$main$0() @bci=2, line=40, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc078c8 (Interpreted frame) - LingeredAppWithLock$$Lambda$15.run() @bci=0, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc06aa8 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=830, pc=0x0000ffff7f8613d0, Method*=0x000000080012a640 (Interpreted frame) Locked ownable synchronizers: - None "Thread-2" #25 prio=5 tid=0x0000ffff9c4e7000 nid=0x66d9 waiting on condition [0x0000ffff2f9fc000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x000000080012b8d8 (Interpreted frame) - LingeredAppWithLock.lockMethod(java.lang.Object) @bci=7, line=32, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc07590 (Interpreted frame) - locked <0x00000000ffc9e7c0> (a java.lang.Thread) - LingeredAppWithLock.lambda$main$2(java.lang.Thread) @bci=1, line=42, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc07818 (Interpreted frame) - LingeredAppWithLock$$Lambda$16.run() @bci=4, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc0fc40 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=830, pc=0x0000ffff7f8613d0, Method*=0x000000080012a640 (Interpreted frame) Locked ownable synchronizers: - None "Thread-3" #26 prio=5 tid=0x0000ffff9c4e9800 nid=0x66da waiting on condition [0x0000ffff2f7fc000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x000000080012b8d8 (Interpreted frame) - LingeredAppWithLock.lockMethod(java.lang.Object) @bci=7, line=32, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc07590 (Interpreted frame) - locked <0x00000000ffe002a0> (a java.lang.Class for int) - LingeredAppWithLock.lambda$main$3() @bci=3, line=43, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc07768 (Interpreted frame) - LingeredAppWithLock$$Lambda$17.run() @bci=0, pc=0x0000ffff7f861378, Method*=0x0000ffff6dc0faa8 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=830, pc=0x0000ffff7f8613d0, Method*=0x000000080012a640 (Interpreted frame) Locked ownable synchronizers: - None "HotSpotGraalManagement Bean Registration" #27 daemon prio=1 tid=0x0000ffff541dc000 nid=0x66f5 waiting on condition [0x0000ffff2edfb000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0, pc=0x0000ffff7f868780, Method*=0x000000080012b8d8 (Interpreted frame) - org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.run() @bci=35, line=140, pc=0x0000ffff7f861378, Method*=0x0000ffff6dcf6c98 (Interpreted frame) Locked ownable synchronizers: - None hsdb> line 145: cmd=jstack -v jdk.test.lib.process.OutputAnalyzer@16589b75 match success! Starting clhsdb against 26300 [2019-08-07T03:19:46.239616Z] Gathering output for process 26507 [2019-08-07T03:20:18.495203Z] Waiting for completion for process 26507 [2019-08-07T03:20:18.495980Z] Waiting for completion finished for process 26507 Warning! JS Engine can't start, some commands will not be available. hsdb> instance of Oop for java/lang/Class @ 0x00000000ffc9cd38 @ 0x00000000ffc9cd38 (size = 112) hsdb> line 145: cmd=inspect 0x00000000ffc9cd38 jdk.test.lib.process.OutputAnalyzer@416fa7a0 match success! Starting clhsdb against 26300 [2019-08-07T03:20:18.503512Z] Gathering output for process 26592 [2019-08-07T03:20:58.872269Z] Waiting for completion for process 26592 [2019-08-07T03:20:58.880429Z] Waiting for completion finished for process 26592 Warning! JS Engine can't start, some commands will not be available. hsdb> Type is Method (size of 104) ConstMethod* Method::_constMethod: ConstMethod @ 0x0000000800723228 MethodData* Method::_method_data: MethodData @ null MethodCounters* Method::_method_counters: MethodCounters @ 0x0000ffff6d8a0e38 AccessFlags Method::_access_flags: 265 int Method::_vtable_index: -2 u2 Method::_intrinsic_id: 0 u2 Method::_flags: 0 int Method::_compiled_invocation_count: 0 CompiledMethod* Method::_code: CompiledMethod @ null address Method::_i2i_entry: address @ 0x000000080012b918 address Method::_from_compiled_entry: address @ 0x000000080012b920 address Method::_from_interpreted_entry: address @ 0x000000080012b930 hsdb> line 145: cmd=inspect 0x000000080012b8d8 jdk.test.lib.process.OutputAnalyzer@e48c8a7 match success! Starting clhsdb against 26300 [2019-08-07T03:20:58.973900Z] Gathering output for process 26657 [2019-08-07T03:21:45.732230Z] Waiting for completion for process 26657 [2019-08-07T03:21:45.732718Z] Waiting for completion finished for process 26657 Warning! JS Engine can't start, some commands will not be available. 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' ] Attaching to process 26300, please wait... Warning: Nashorn engine is planned to be removed from a future JDK release javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 Attaching to process 26300, please wait... Warning: Nashorn engine is planned to be removed from a future JDK release javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 Attaching to process 26300, please wait... Warning: Nashorn engine is planned to be removed from a future JDK release javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 Attaching to process 26300, please wait... Warning: Nashorn engine is planned to be removed from a future JDK release javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 stdout: [ Error: sun.jvm.hotspot.debugger.UnmappedAddressException: ffe80f7c0 ]; stderr: [ Error: sun.jvm.hotspot.debugger.UnmappedAddressException: ffe80f7c0 ] exitValue = -1 LingeredApp stdout: []; LingeredApp stderr: [] LingeredApp exitValue = 0 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 JavaTest Message: shutting down test STATUS: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 rerun: cd /home/leijin01/workspace/ci_scripts/jtworks/scratch/0 && \ DISPLAY=:99 \ HOME=/home/leijin01 \ PATH=/bin:/usr/bin \ CLASSPATH=/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d:/home/leijin01/workspace/openjdk/test/hotspot/jtreg/serviceability/sa:/home/leijin01/workspace/ci_scripts/jtworks/classes/0/test/lib:/home/leijin01/workspace/openjdk/test/lib:/home/leijin01/workspace/jtreg/jtreg-hg/dist/jtreg/lib/javatest.jar:/home/leijin01/workspace/jtreg/jtreg-hg/dist/jtreg/lib/jtreg.jar \ /home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk/bin/java \ -Dtest.class.path.prefix=/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d:/home/leijin01/workspace/openjdk/test/hotspot/jtreg/serviceability/sa:/home/leijin01/workspace/ci_scripts/jtworks/classes/0/test/lib \ -Dtest.src=/home/leijin01/workspace/openjdk/test/hotspot/jtreg/serviceability/sa \ -Dtest.src.path=/home/leijin01/workspace/openjdk/test/hotspot/jtreg/serviceability/sa:/home/leijin01/workspace/openjdk/test/lib \ -Dtest.classes=/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d \ -Dtest.class.path=/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d:/home/leijin01/workspace/ci_scripts/jtworks/classes/0/test/lib \ -Dtest.vm.opts='-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' \ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx768m -J-server -J-XX:+UnlockExperimentalVMOptions -J-XX:+EnableJVMCI -J-XX:+UseJVMCICompiler -J-Djvmci.Compiler=graal -J-Djdk.test.docker.image.name=ubuntu -J-Djdk.test.docker.image.version=18.04 -J-Djava.net.preferIPv4Stack=true' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk \ -Dcompile.jdk=/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk \ -Dtest.timeout.factor=8.0 \ -Dtest.root=/home/leijin01/workspace/openjdk/test/hotspot/jtreg \ -Dtest.nativepath=/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/test/hotspot/jtreg/native \ -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 \ -Djava.library.path=/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/test/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /home/leijin01/workspace/ci_scripts/jtworks/serviceability/sa/ClhsdbInspect.d/main.0.jta TEST RESULT: 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 -------------------------------------------------- Test results: failed: 1 Report written to /home/leijin01/workspace/ci_scripts/jtregreports/html/report.html Results written to /home/leijin01/workspace/ci_scripts/jtworks 1 pids were not killed No process in pidfile '/tmp/xvfb.pid' found running; none killed.