JDK-8232836 : SA TestJhsdbJstackMixed.java failed due to "'NoFramePointerJNIFib' missing from stdout/stderr"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2019-10-22
  • Updated: 2019-10-29
  • Resolved: 2019-10-29
Related Reports
Duplicate :  
Description
The following test failed in the JDK14 CI:

serviceability/sa/TestJhsdbJstackMixed.java

Here's a snippet from the log file:

----------System.err:(41/3126)----------
Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+20-858/linux-x64-debug.jdk/jdk-14/fastdebug/bin/java' '-XX:MaxRAMPercentage=6' '-Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+20-858/linux-x64-debug.test/hotspot/jtreg/native' '-cp' '/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S154/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/451a4757-f518-4daf-9e38-baa6a49301df/runs/a8ebf705-26aa-4fe4-bd29-16df9565cce1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/serviceability/sa/TestJhsdbJstackMixed.d:/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S154/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/451a4757-f518-4daf-9e38-baa6a49301df/runs/a8ebf705-26aa-4fe4-bd29-16df9565cce1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/test/lib' 'LingeredAppWithNativeMethod' 'a007cf3a-db16-4b2e-a037-e1d97864fddd.lck' ]

 stdout: [Attaching to process ID 22962, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 14-ea+20-858
];
 stderr: []
 exitValue = 134

java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr 

	at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:187)
	at TestJhsdbJstackMixed.runJstackMixedInLoop(TestJhsdbJstackMixed.java:148)
	at TestJhsdbJstackMixed.main(TestJhsdbJstackMixed.java:178)
	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:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:830)
 LingeredApp stdout: [fib(51) = ];
 LingeredApp stderr: []
 LingeredApp exitValue = 0
java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr 

	at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:187)
	at TestJhsdbJstackMixed.runJstackMixedInLoop(TestJhsdbJstackMixed.java:148)
	at TestJhsdbJstackMixed.main(TestJhsdbJstackMixed.java:178)
	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:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:830)

JavaTest Message: Test threw exception: java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr 

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr
----------rerun:(40/6149)*----------
Comments
There is a timeout, and a core generated for pid 23032 (due to the timeout). If you look at the stack for 23032, you'll see that this is JDK-8231635. Closing as dup. "main" #1 prio=5 os_prio=0 cpu=1184347.67ms elapsed=1194.75s tid=0x00007f5f9c022000 nid=0x59f9 runnable [0x00007f5fa4728000] java.lang.Thread.State: RUNNABLE Thread: 0x00007f5f9c022000 [0x59f9] State: _at_safepoint _at_poll_safepoint 1 JavaThread state: _thread_blocked at sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddress(jdk.hotspot.agent@14-ea/BasicTypeDataBase.java:328) at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(jdk.hotspot.agent@14-ea/VirtualBaseConstructor.java:102) at sun.jvm.hotspot.utilities.GrowableArray.at(jdk.hotspot.agent@14-ea/GrowableArray.java:61) at sun.jvm.hotspot.code.CodeCache.findBlobUnsafe(jdk.hotspot.agent@14-ea/CodeCache.java:102) at sun.jvm.hotspot.code.CodeCache.findBlob(jdk.hotspot.agent@14-ea/CodeCache.java:85) at sun.jvm.hotspot.runtime.x86.X86Frame.sender(jdk.hotspot.agent@14-ea/X86Frame.java:282) at sun.jvm.hotspot.runtime.Frame.sender(jdk.hotspot.agent@14-ea/Frame.java:205) at sun.jvm.hotspot.runtime.amd64.AMD64CurrentFrameGuess.run(jdk.hotspot.agent@14-ea/AMD64CurrentFrameGuess.java:140) at sun.jvm.hotspot.runtime.linux_amd64.LinuxAMD64JavaThreadPDAccess.getCurrentFrameGuess(jdk.hotspot.agent@14-ea/LinuxAMD64JavaThreadPDAccess.java:95) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(jdk.hotspot.agent@14-ea/JavaThread.java:265) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(jdk.hotspot.agent@14-ea/JavaThread.java:227) at sun.jvm.hotspot.tools.PStack.initJFrameCache(jdk.hotspot.agent@14-ea/PStack.java:208) at sun.jvm.hotspot.tools.PStack.run(jdk.hotspot.agent@14-ea/PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(jdk.hotspot.agent@14-ea/PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(jdk.hotspot.agent@14-ea/PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(jdk.hotspot.agent@14-ea/JStack.java:67) at sun.jvm.hotspot.tools.Tool.startInternal(jdk.hotspot.agent@14-ea/Tool.java:262) at sun.jvm.hotspot.tools.Tool.start(jdk.hotspot.agent@14-ea/Tool.java:225) at sun.jvm.hotspot.tools.Tool.execute(jdk.hotspot.agent@14-ea/Tool.java:118) at sun.jvm.hotspot.tools.JStack.runWithArgs(jdk.hotspot.agent@14-ea/JStack.java:90) at sun.jvm.hotspot.SALauncher.runJSTACK(jdk.hotspot.agent@14-ea/SALauncher.java:290) at sun.jvm.hotspot.SALauncher$$Lambda$3/0x0000000800baf840.accept(jdk.hotspot.agent@14-ea/Unknown Source) at sun.jvm.hotspot.SALauncher.main(jdk.hotspot.agent@14-ea/SALauncher.java:406)
29-10-2019