Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7191312

some jcmd tests fail when output is only "<pid>:"

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      solaris

      Description

      The following tests failed in the 2012.08.13 RT_Baseline nightly:

          jcmd/thread/print_concurrent_locks/pid
          jcmd/vm/uptime/className

      Here is the failing config info:

      Host: irl10027, Intel x86 2926 MHz, 2 cores, 8G, Solaris / Solaris 10, i86pc
      JDK: Java(TM) SE Runtime Environment 1.7.0_06 b24 (1.7.0_06-fastdebug-b24)
      VM: Java HotSpot(TM) 64-Bit Server VM 24.0 b20 (24.0-b20-internal-201208110624.ddaugher.7190512_for_hsx24-fastdebug)
      Options: -d64 -server -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M


      The "pid" test fails like this:

      [2012-08-14T04:28:21.19] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2012-08-14T04:28:21.19] # Actual: /export/local/common/jdk/baseline/solaris-amd64/bin/java -d64 -server -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M jcmd.thread.print.ThreadPrint -executor pid -jucLocks true
      [2012-08-14T04:28:22.60] Launching process by command line: /export/local/common/jdk/baseline/solaris-amd64/bin/jcmd 494 Thread.print -l=true
      [2012-08-14T04:28:22.60] Could not match: .*at jcmd.thread.print.ThreadPrint\.run.* (not neccesarily fatal)
      [2012-08-14T04:28:22.60] Could not match: .*- locked <0x\p{XDigit}+> \Q(a java.lang.Object)\E.* (not neccesarily fatal)
      [2012-08-14T04:28:22.60] Could not match: .*Locked ownable synchronizers:.* (not neccesarily fatal)
      [2012-08-14T04:28:22.60] Could not match: .*- <0x\p{XDigit}+> \Q(a java.util.concurrent.locks.ReentrantLock\E.* (not neccesarily fatal)
      [2012-08-14T04:28:22.60] Test failure: Failed to match regexps against output: [494:]
      [2012-08-14T04:28:22.60] at jcmd.thread.print.ThreadPrint.run(ThreadPrint.java:100)
      [2012-08-14T04:28:22.66]
      [2012-08-14T04:28:22.66] # Test level exit status: 97
      # Host info: SunOS irl10027 5.10 Generic_142910-17 i86pc i386 i86pc


      The className test fails like this:

      [2012-08-14T04:29:05.08] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2012-08-14T04:29:05.08] # Actual: /export/local/common/jdk/baseline/solaris-amd64/bin/java -d64 -server -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M jcmd.vm.uptime.Uptime -executor className
      [2012-08-14T04:29:07.60] Launching process by command line: /export/local/common/jdk/baseline/solaris-amd64/bin/jcmd jcmd.vm.uptime.Uptime VM.uptime
      [2012-08-14T04:29:07.60] Exception in thread "main" java.lang.NumberFormatException: For input string: "572:"
      [2012-08-14T04:29:07.60] at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
      [2012-08-14T04:29:07.60] at java.lang.Double.valueOf(Double.java:504)
      [2012-08-14T04:29:07.60] at jcmd.vm.uptime.Uptime.run(Uptime.java:28)
      [2012-08-14T04:29:07.60] at nsk.share.test.TestBase.runTest(TestBase.java:41)
      [2012-08-14T04:29:07.60] at jcmd.vm.uptime.Uptime.main(Uptime.java:39)
      [2012-08-14T04:29:07.65] # Test level exit status: 1
      # Host info: SunOS irl10027 5.10 Generic_142910-17 i86pc i386 i86pc
      Another sighting of this failure mode in a different test in
      the 2012.08.20 RT_Baseline nightly:

          jcmd/vm/command_line/cmdFile

      Here is the failing config info:

      Host: vm-x6250-01a, Intel x86 2826 MHz, 8 cores, 8G, Solaris / Solaris 10, i86pc
      JDK: Java(TM) SE Runtime Environment 1.8.0 b52 (1.8.0-ea-fastdebug-b52)
      VM: Java HotSpot(TM) Client VM 24.0 b21 (24.0-b21-internal-201208171919.ddaugher.merge_main_to_rt_b-fastdebug)
      Options: -client -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M

      Here is a snippet from the failing .log file:

      [2012-08-21T02:34:18.31] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2012-08-21T02:34:18.31] # Actual: /export/local/common/jdk/baseline/solaris-i586/bin/java -client -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M -Xmx129m -XX:+PrintGC -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis_Right jcmd.vm.command_line.CommandLine -executor cmdFile
      [2012-08-21T02:34:19.54]
      [2012-08-21T02:34:19.54] Launching process by command line: /export/local/common/jdk/baseline/solaris-i586/bin/jcmd 9845 -f /var/tmp/input5727422557218363310jcmd
      [2012-08-21T02:34:19.54] Test failure: Did not see expected string "-Xmx129m -XX:+PrintGC -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis_Right", found "[9845:]"
      [2012-08-21T02:34:19.54] at jcmd.vm.command_line.CommandLine.run(CommandLine.java:24)
      [2012-08-21T02:34:19.57] # Test level exit status: 97
      # Host info: SunOS vm-x6250-01a 5.10 Generic_142910-17 i86pc i386 i86pc

        Attachments

          Activity

            People

            • Assignee:
              miauno Mikael Auno (Inactive)
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: