JDK-8033252 : tmtools/jmap/pmap/jmap_pmap_format_live and other tests fail with JMap did not report any shared object mappings
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-01-30
  • Updated: 2014-01-31
  • Resolved: 2014-01-31
Related Reports
Duplicate :  
Description
These tests failed in rt nightly test run:

tmtools/jmap/pmap/jmap_pmap_format_live
tmtools/jmap/pmap/jmap_pmap_noduplicate_live
tmtools/jmap/pmap/jmap_pmap_sanity_live

[2014-01-30T06:56:21.31] nsk.share.TestFailure: JMap did not report any shared object mappings.
Test run URL: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=355682.JAVASE.NIGHTLY.VM.RT_Baseline.2014-01-29-135&show-limit=0&filter=
Host:  vmsqe-mac-22.ru.oracle.com, Intel Macmini6,2 2300 MHz, 8 cores, 8G, MacOSX / Mac OS X Unknown, x86_64
Options:  -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M 

[2014-01-30T06:56:17.89] #
[2014-01-30T06:56:17.89] export TESTED_JAVA_HOME
[2014-01-30T06:56:17.89] export STRESS_GC_OPTS
[2014-01-30T06:56:17.89] export SYSTEMROOT
[2014-01-30T06:56:17.89] export REQUIRED_TOOL_OPTS
[2014-01-30T06:56:17.89] export HOME
[2014-01-30T06:56:17.89] export TEMP
[2014-01-30T06:56:17.89] export RAS_OPTIONS
[2014-01-30T06:56:17.89] export TOOL_WORK_TIMEOUT
[2014-01-30T06:56:17.89] export BASH_ENV
[2014-01-30T06:56:17.89] export ARCH
[2014-01-30T06:56:17.89] export SHELL
[2014-01-30T06:56:17.89] export TEST_CLEANUP
[2014-01-30T06:56:17.89] export LIBJSIG_PATH
[2014-01-30T06:56:17.89] export CLASSPATH
[2014-01-30T06:56:17.89] export ROOTDIR
[2014-01-30T06:56:17.89] export JAVA_OPTS
[2014-01-30T06:56:17.89] export DISPLAY
[2014-01-30T06:56:17.89] export WINDIR
[2014-01-30T06:56:17.89] export PATH
[2014-01-30T06:56:17.89] export JAVA_64_BITS
[2014-01-30T06:56:17.89] export LD_LIBRARY_PATH
[2014-01-30T06:56:17.89] export TESTBASE
[2014-01-30T06:56:17.89] 
[2014-01-30T06:56:17.89] 
[2014-01-30T06:56:17.89] # Dtonga sync function sub.
[2014-01-30T06:56:17.89] sync () {
[2014-01-30T06:56:17.89] 	$@
[2014-01-30T06:56:17.89] }
[2014-01-30T06:56:17.89] interactive () {
[2014-01-30T06:56:17.89] 	$@
[2014-01-30T06:56:17.89] }
[2014-01-30T06:56:17.89] parserVariable_2087=`pwd   `
[2014-01-30T06:56:17.89] # Actual: parserVariable_2087=`pwd`
[2014-01-30T06:56:17.90] /export/local/aurora/sandbox/results/ResultDir/jmap_pmap_sanity_live
[2014-01-30T06:56:17.90] TESTDIR="${parserVariable_2087}"
[2014-01-30T06:56:17.92] # Actual: TESTDIR=/export/local/aurora/sandbox/results/ResultDir/jmap_pmap_sanity_live
[2014-01-30T06:56:17.92] export TESTDIR
[2014-01-30T06:56:17.92] parserVariable_2088=`basename  ${TESTDIR}  `
[2014-01-30T06:56:17.92] # Actual: parserVariable_2088=`basename /export/local/aurora/sandbox/results/ResultDir/jmap_pmap_sanity_live`
[2014-01-30T06:56:17.93] jmap_pmap_sanity_live
[2014-01-30T06:56:17.93] DEBUGGEE_STORAGE="${SHARED_DIR}/debuggee/${parserVariable_2088}"
[2014-01-30T06:56:17.94] # Actual: DEBUGGEE_STORAGE=/export/local/aurora/sandbox/results/debuggee/jmap_pmap_sanity_live
[2014-01-30T06:56:17.94] export DEBUGGEE_STORAGE
[2014-01-30T06:56:17.94] echo  ${TESTED_JAVA_HOME}/bin/java ${JAVA_OPTS} -Dvmsqe.tmtools.localDtdStorage=${TESTBASE}/src/tmtools/share/dtd -Dvmsqe.tmtools.logging.level=${LOG_LEVEL} -Dvmsqe.log.name=server tmtools.share.TestSuite test.xml
[2014-01-30T06:56:17.94] # Actual: echo /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//bin/java -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M -Dvmsqe.tmtools.localDtdStorage=/export/local/aurora/sandbox/sca/vmsqe/testbase/vm/9/build/execution/vm//src/tmtools/share/dtd -Dvmsqe.tmtools.logging.level=3 -Dvmsqe.log.name=server tmtools.share.TestSuite test.xml
[2014-01-30T06:56:17.94] /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//bin/java -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M -Dvmsqe.tmtools.localDtdStorage=/export/local/aurora/sandbox/sca/vmsqe/testbase/vm/9/build/execution/vm//src/tmtools/share/dtd -Dvmsqe.tmtools.logging.level=3 -Dvmsqe.log.name=server tmtools.share.TestSuite test.xml
[2014-01-30T06:56:17.98] sync  ${TESTED_JAVA_HOME}/bin/java ${JAVA_OPTS} -Dvmsqe.tmtools.localDtdStorage=${TESTBASE}/src/tmtools/share/dtd -Dvmsqe.tmtools.logging.level=${LOG_LEVEL} -Dvmsqe.log.name=server tmtools.share.TestSuite test.xml
[2014-01-30T06:56:17.98] # Actual: sync /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//bin/java -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M -Dvmsqe.tmtools.localDtdStorage=/export/local/aurora/sandbox/sca/vmsqe/testbase/vm/9/build/execution/vm//src/tmtools/share/dtd -Dvmsqe.tmtools.logging.level=3 -Dvmsqe.log.name=server tmtools.share.TestSuite test.xml
[2014-01-30T06:56:18.28] -> Initializing tonga synchronizer...
[2014-01-30T06:56:18.28] -> Starting tonga synchronizer
[2014-01-30T06:56:18.28] -> Starting Debuggee Control Center
[2014-01-30T06:56:18.71] lookForCmdString: 
[2014-01-30T06:56:18.71] 
[2014-01-30T06:56:18.71] -> Got Incomming request from vmsqe-mac-22.ru.oracle.com
[2014-01-30T06:56:18.71] -> Creating output stream
[2014-01-30T06:56:18.72] -> Creating input stream
[2014-01-30T06:56:18.72] -> Done
[2014-01-30T06:56:18.88] Starting suite
[2014-01-30T06:56:18.89] Starting debuggee debuggee
[2014-01-30T06:56:18.89] Debuggee element name debuggee
[2014-01-30T06:56:18.89]  >>>> type = debuggee
[2014-01-30T06:56:18.89]  >>>> id = debuggee
[2014-01-30T06:56:18.89]  >>>> connection = live
[2014-01-30T06:56:18.89] Debuggee is debuggee
[2014-01-30T06:56:18.89] opt: null
[2014-01-30T06:56:20.47] -> Posting command:  class tmtools.share.distributed.protocol.request.DebuggeeStartRequest
[2014-01-30T06:56:20.47] -> Got command:  class tmtools.share.distributed.protocol.response.StandardClientAnswer
[2014-01-30T06:56:20.47]  >>>> debuggee
[2014-01-30T06:56:20.47] -> Started debuggee with id: debuggee
[2014-01-30T06:56:20.47] # Are you Debuggee connector?
[2014-01-30T06:56:20.47] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.48] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.48] # Are you Debuggee connector?
[2014-01-30T06:56:20.48] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.49] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.49] [${settings.tested_java.jmap}, ${debuggee.saConnector}]
[2014-01-30T06:56:20.49] # Are you Debuggee connector?
[2014-01-30T06:56:20.49] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.52] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.52] Running test jmap_pmap_sanity
[2014-01-30T06:56:20.52] No state selected
[2014-01-30T06:56:20.52] Tool connection: live
[2014-01-30T06:56:20.52] # Are you Debuggee connector?
[2014-01-30T06:56:20.52] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.52] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.52] # Are you Debuggee connector?
[2014-01-30T06:56:20.52] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:20.52] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:21.31] [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//bin/jmap, 96107]
[2014-01-30T06:56:21.31] # Are you Debuggee connector?
[2014-01-30T06:56:21.31] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:21.31] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:21.31] Stdout: 
[2014-01-30T06:56:21.31] Attaching to process ID 96107, please wait...
[2014-01-30T06:56:21.31] Debugger attached successfully.
[2014-01-30T06:56:21.31] Server compiler detected.
[2014-01-30T06:56:21.31] JVM version is 25.0-b62-internal-201401291910.hseigel.bug_7071069_gz-fastdebug
[2014-01-30T06:56:21.31] 
[2014-01-30T06:56:21.31] Stderr: 
[2014-01-30T06:56:21.31] 
[2014-01-30T06:56:21.31] exit code: 0
[2014-01-30T06:56:21.31] # Are you Debuggee connector?
[2014-01-30T06:56:21.31] # Hi from Debuggee connector vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:21.31] nsk.share.TestFailure: JMap did not report any shared object mappings.
[2014-01-30T06:56:21.32] 	at tmtools.jmap.share.pmap.Analyzer.analyse(Analyzer.java:20)
[2014-01-30T06:56:21.32] 	at tmtools.jmap.share.pmap.SanityAnalyzer.analyse(SanityAnalyzer.java:9)
[2014-01-30T06:56:21.32] 	at tmtools.share.Test.doTest(Test.java:212)
[2014-01-30T06:56:21.32] 	at tmtools.share.TestSuite.execute(TestSuite.java:172)
[2014-01-30T06:56:21.32] 	at tmtools.share.TestSuite.main(TestSuite.java:206)
[2014-01-30T06:56:21.32] Trying to connect vmsqe-mac-22.ru.oracle.com:10000
[2014-01-30T06:56:21.34] nsk.share.TestFailure: JMap did not report any shared object mappings.
[2014-01-30T06:56:21.34] 	at tmtools.jmap.share.pmap.Analyzer.analyse(Analyzer.java:20)
[2014-01-30T06:56:21.34] 	at tmtools.jmap.share.pmap.SanityAnalyzer.analyse(SanityAnalyzer.java:9)
[2014-01-30T06:56:21.34] 	at tmtools.share.Test.doTest(Test.java:212)
[2014-01-30T06:56:21.34] -> Posting command:  class tmtools.share.distributed.protocol.request.DebuggeeKillRequest
[2014-01-30T06:56:21.34] -> Got command:  class tmtools.share.distributed.protocol.response.StandardClientAnswer
[2014-01-30T06:56:21.34]  FAILED
[2014-01-30T06:56:21.34] Test tesults:
[2014-01-30T06:56:21.34] 	at tmtools.share.TestSuite.execute(TestSuite.java:172)
[2014-01-30T06:56:21.34] 	at tmtools.share.TestSuite.main(TestSuite.java:206)
[2014-01-30T06:56:21.34] 	FAILED: jmap_pmap_sanity. The reason: JMap did not report any shared object mappings.
[2014-01-30T06:56:21.34] Shutting down Tonga syncronizer...
[2014-01-30T06:56:21.34] Shutting down Debuggee Control Center...
[2014-01-30T06:56:21.35] -> Posting command:  class tmtools.share.distributed.protocol.request.ShutDownRequest
[2014-01-30T06:56:21.35] Exception in thread "main" nsk.share.Failure: Test suite execution failed
[2014-01-30T06:56:21.35] 	at tmtools.share.TestSuite.main(TestSuite.java:227)
[2014-01-30T06:56:21.42] java.io.IOException: Stream closed
[2014-01-30T06:56:21.42] 	at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159)
[2014-01-30T06:56:21.42] 	at java.io.BufferedInputStream.available(BufferedInputStream.java:410)
[2014-01-30T06:56:21.42] 	at tonga.external.appsync.SyncInputStream.syncRead(SyncInputStream.java:87)
[2014-01-30T06:56:21.42] 	at tonga.external.appsync.ApplicationSync.lookForCmdString(ApplicationSync.java:100)
[2014-01-30T06:56:21.42] 	at tonga.external.appsync.ApplicationSync.run(ApplicationSync.java:82)
[2014-01-30T06:56:21.46] -> Got command:  class tmtools.share.distributed.protocol.response.StandardClientAnswer
[2014-01-30T06:56:21.46] 
Comments
This functionality is not implemented on OSX, see enhancement JDK-8029590
31-01-2014

RULE tmtools/jmap/pmap/jmap_pmap_format_live Exception nsk.share.TestFailure: JMap did not report any shared object mappings. RULE tmtools/jmap/pmap/jmap_pmap_noduplicate_live Exception nsk.share.TestFailure: JMap did not report any shared object mappings. RULE tmtools/jmap/pmap/jmap_pmap_sanity_live Exception nsk.share.TestFailure: JMap did not report any shared object mappings.
30-01-2014