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

sun/tools/jmap/Basic.sh failing on Mac OS X

XMLWordPrintable

    • generic
    • os_x

      sun/tools/jmap/Basic.sh is failing in JPRT on Mac with builds of jdk7u-dev. A sample failure is below.

      As SA is not working on Mac yet then a possible approach is to change this this test to not exercise these options on Mac. Currently this test doesn't exercise the SA dependent options on Windows and that should be looked at too because SA is on Windows since jdk7.


      --------------------------------------------------
      TEST: sun/tools/jinfo/Basic.sh
      JDK under test: (/tmp/jprt/P1/190910.albatem/testproduct/macosx_x64_10.7-product/1.7.0.jdk/Contents/Home)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201202041909.albatem.jdk7u-dev-b00)
      OpenJDK 64-Bit Server VM (build 23.0-b12, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
      TIME: 0.03 seconds
      messages:
      command: build SimpleApplication ShutdownSimpleApplication
      reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
      elapsed time (seconds): 0.03

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.03 seconds
      messages:
      command: compile /private/tmp/jprt/P1/190910.albatem/source/jdk/test/sun/tools/jinfo/../common/SimpleApplication.java /private/tmp/jprt/P1/190910.albatem/source/jdk/test/sun/tools/jinfo/../common/ShutdownSimpleApplication.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.03

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell Basic.sh
      TIME: 2.431 seconds
      messages:
      command: shell Basic.sh []
      reason: User specified action: run shell Basic.sh
      elapsed time (seconds): 2.431
      STDOUT:
      INFO: waiting for SimpleApplication to initialize...
      INFO: SimpleApplication is process 89234
      INFO: SimpleApplication output is in /private/tmp/jprt/P1/190910.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_tools2/JTwork/classes/sun/tools/jinfo/Application.out
      -XX:-PrintGC
      INFO: Port number of SimpleApplication: 65155
      INFO: Connecting to port 65155 to shutdown SimpleApplication ...
      INFO: done connecting to SimpleApplication.
      INFO: waiting for 89234
      STDERR:
      Attaching to process ID 89234, please wait...
      attach: task_for_pid(89234) failed (5)
      Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
      Attaching to process ID 89234, please wait...
      attach: task_for_pid(89234) failed (5)
      Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
      Attaching to process ID 89234, please wait...
      attach: task_for_pid(89234) failed (5)
      Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------

            sla Staffan Larsen (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: