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

TEST_BUG: com/sun/jdi/DoubleAgentTest.java gets InterruptedException

XMLWordPrintable

    • generic
    • generic

      Fedora 9 32bit -server was used.

      This testcase is verifying that two agents cannot be loaded, but it appears to be getting an Interrupted exception.
      This could be a spurious failure and may or may not reproduce.

      --------------------------------------------------
      TESTFAIL:com/sun/jdi/DoubleAgentTest.java
      JDK under test: (/tmp/jprt/P2/T/012817.ohair/testproduct/linux_i586_2.6-product)
      openjdk version "1.7.0-2009-12-11-012817.ohair.jdk"
      OpenJDK Runtime Environment (build 1.7.0-2009-12-11-012817.ohair.jdk-jprtadm_2009_12_10_19_17-b00)
      Java HotSpot(TM) Server VM (build 17.0-b05, mixed mode)
      Timeout signalled after 480 seconds

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build VMConnection DoubleAgentTest Exit0
      TIME: 0.032 seconds
      messages:
      command: build VMConnection DoubleAgentTest Exit0
      reason: User specified action: run build VMConnection DoubleAgentTest Exit0
      elapsed time (seconds): 0.032

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.031 seconds
      messages:
      command: compile /tmp/jprt/P2/T/012817.ohair/source/test/com/sun/jdi/DoubleAgentTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.031

      ACTION: build -- Passed. All files up to date
      REASON: Named class compiled on demand
      TIME: 0.0 seconds
      messages:
      command: build DoubleAgentTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.InterruptedException
      REASON: User specified action: run main DoubleAgentTest
      TIME: 480.006 seconds
      messages:
      command: main DoubleAgentTest
      reason: User specified action: run main DoubleAgentTest
      elapsed time (seconds): 480.006
      STDOUT:
      Starting: /tmp/jprt/P2/T/012817.ohair/testproduct/linux_i586_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/012817.ohair/source/build/linux-i586/testoutput/jdk_tools1/JTwork/classes/com/sun/jdi -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=36332 -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=36332 Exit0
      ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.Error occurred during initialization of VM
      agent library failed to init: jdwp

      STDERR:
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at DoubleAgentTest.main(DoubleAgentTest.java:137)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at com.sun.javatest.regtest.MainAction$SameVMThread.run(MainAction.java:575)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.InterruptedException
      JavaTest Message: shutting down test


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException
      --------------------------------------------------

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: