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

com/sun/jdi/ProcessAttachTest.sh fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 6
    • core-svc
    • x86
    • linux_redhat_3.0

      JDK : Fails: Mustang b59a
                            Passes: Mustang b59
      Platform[s] : Fails On: Red Hat AS 4 (amd64)
      Failing Test [s] : com/sun/jdi/ProcessAttachTest.sh


          Test source location:
          =====================
      /net/cady/export/jdk1.6.0/promoted/all/b59b/ws/j2se/test/com/sun/jdi/ProcessAttachTest.sh

          Test Machine:
          =============
      Linux opteron002 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

      *** /etc/lsb-release.d: directory ***

      ::::::::::::::
      /etc/redhat-release
      ::::::::::::::
      Red Hat Enterprise Linux AS release 4 (Nahant Update 2)


          jtr file location:
          ==================
      /net/cady/export6/results/mustang/b59b/reg/regression-reg-mustang-RHAS-amd-2005-12-05-11-47-34-0942/workDir/com/sun/jdi/ProcessAttachTest.jtr

          How to reproduce:
          ====================
          - Set JAVA_HOME to Mustang b59a linux-amd64
          - cd /net/cady/export/jdk1.6.0/promoted/all/b59b/ws/j2se/test/com/sun/jdi
          - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/linux/bin/jtreg -r:/tmp -w:/tmp ./ProcessAttachTest.sh

          Test output:
          =============
      ----------System.out:(22/1068)*----------
      Test 1: Debuggee start with suspend=n
      Waiting for Debuggee to initialize...
      Debuggee is process 4859
      Debugger is attaching to: 4859 ...
      Attached! Now listing threads ...
      instance of java.lang.Thread(name='Attach Listener', id=2)
      instance of java.lang.Thread(name='Signal Dispatcher', id=3)
      instance of java.lang.ref.Finalizer$FinalizerThread(name='Finalizer', id=4)
      instance of java.lang.ref.Reference$ReferenceHandler(name='Reference Handler', id=5)
      instance of java.lang.Thread(name='main', id=1)
      Debugger done.
      Port number of debuggee is: 32828
      Connecting to port 32828 to shutdown Debuggee ...
      \\nTest 2: Debuggee start with suspend=y
      Waiting for Debuggee to initialize...
      Debuggee is process 4904
      Debugger is attaching to: 4904 ...
      Exception in thread "main" java.io.IOException: none of the installed providers knows how to attach to: 4904
              at com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:86)
              at ProcessAttachDebugger.main(ProcessAttachDebugger.java:45)
      1 test(s) failed:
      Listening for transport dt_socket at address: 32836
      ----------System.err:(4/332)----------
      Exception in thread "main" java.io.FileNotFoundException: /.automount/cady/root/export/dtf/regdir/ver/newrs/classes/com/sun/jdi/shutdown2.port (No such file or directory)
              at java.io.FileInputStream.open(Native Method)
              at java.io.FileInputStream.<init>(FileInputStream.java:106)
              at ShutdownDebuggee.main(ShutdownDebuggee.java:18)
      result: Failed. Execution failed: Program `sh' interrupted! (timed out?)

            alanb Alan Bateman
            jaleesunw James Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: