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

sun/tools/jmap/Basic.sh test failing since hsx 24-b40 integration on unix OSes

    XMLWordPrintable

Details

    • gc

    Description

      I'm seeing the following test fail on JPRT since hsx 24-b40 was pushed to 7u-dev. I noticed this while running JPRT test jobs for the CPU13_02 sync up. It's generic and I see it on all unix platforms.

      TEST: sun/tools/jmap/Basic.sh
      JDK under test: (/tmp/jprt/T1/084934.scoffey/testproduct/solaris_sparcv9_5.10-product)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201304170849.scoffey.jdk7u-dev-contender-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b40, mixed mode)


      ACTION: build -- Passed. All files up to date
      REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
      TIME: 0.0 seconds
      messages:
      command: build SimpleApplication ShutdownSimpleApplication
      reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
      elapsed time (seconds): 0.0

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell Basic.sh
      TIME: 16.535 seconds
      messages:
      command: shell Basic.sh []
      reason: User specified action: run shell Basic.sh
      elapsed time (seconds): 16.535
      STDOUT:
      INFO: waiting for SimpleApplication to initialize...
      INFO: SimpleApplication is process 27645
      INFO: SimpleApplication output is in /tmp/jprt/T1/084934.scoffey/s/jdk/build/solaris-sparcv9/testoutput/jdk_tools/JTwork/classes/sun/tools/jmap/Application.out
      Reading from java_pid27645.hprof...
      Reading from java_pid27645.hprof...
      INFO: Port number of SimpleApplication: 52382
      INFO: Connecting to port 52382 to shutdown SimpleApplication ...
      STDERR:
      Exception in thread "main" java.io.IOException: Premature EOF
      at sun.tools.attach.HotSpotVirtualMachine.readInt(HotSpotVirtualMachine.java:248)
      at sun.tools.attach.SolarisVirtualMachine.execute(SolarisVirtualMachine.java:141)
      at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:217)
      at sun.tools.attach.HotSpotVirtualMachine.heapHisto(HotSpotVirtualMachine.java:185)
      at sun.tools.jmap.JMap.histo(JMap.java:219)
      at sun.tools.jmap.JMap.main(JMap.java:136)
      27645: Unable to open door: target process not responding or HotSpot VM not loaded
      The -F option can be used when the target process is not responding
      27645 Abort - core dumped
      27645: No such process
      java.io.FileNotFoundException: java_pid27645.hprof (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:143)
      at java.io.FileInputStream.<init>(FileInputStream.java:101)
      at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:84)
      at com.sun.tools.hat.Main.main(Main.java:159)
      java_pid27645.hprof: No such file or directory
      27645: No such process
      java.io.FileNotFoundException: java_pid27645.hprof (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:143)
      at java.io.FileInputStream.<init>(FileInputStream.java:101)
      at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:84)
      at com.sun.tools.hat.Main.main(Main.java:159)
      Exception in thread "main" java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
      at java.net.Socket.connect(Socket.java:579)
      at java.net.Socket.connect(Socket.java:528)
      at ShutdownSimpleApplication.main(ShutdownSimpleApplication.java:68)

      TEST RESULT: Failed. Execution failed: exit code 1

      Attachments

        Issue Links

          Activity

            People

              ehelin Erik Helin
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: