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

Test does not work with CYGWIN: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • other-libs
    • None
    • b81
    • generic
    • generic

      These tests do not work in a Windows XP CYGWIN 32bit environment, it is assumed the key issue is CYGWIN and the same fixes will solve it for all Windows and both 32bit and 64bit.

      There may be other *.sh tests that have similar issues but have been excluded from running for other reasons, so all *.sh tests should be checked. Expectation is that the same fix may apply to all of them. Some teams may choose to take the opportunity to rewrite the test in java.

      These tests will be added to the jdk/test/ProblemList.txt file.

      --------------------------------------------------
      TEST: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh
      JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1


      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build TestLogger RmiSslNoKeyStoreTest
      TIME: 0.563 seconds
      messages:
      command: build TestLogger RmiSslNoKeyStoreTest
      reason: User specified action: run build TestLogger RmiSslNoKeyStoreTest
      elapsed time (seconds): 0.563

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.563 seconds
      messages:
      command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\TestLogger.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\RmiSslNoKeyStoreTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.563
      STDOUT:
      STDERR:
      C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\RmiSslNoKeyStoreTest.java:23: warning: ConnectorBootstrap is Sun proprietary API and may be removed in a future release
      import sun.management.jmxremote.ConnectorBootstrap;
                                     ^
      C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\RmiSslNoKeyStoreTest.java:46: warning: AgentConfigurationError is Sun proprietary API and may be removed in a future release
      import sun.management.AgentConfigurationError;
                           ^
      C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\RmiSslNoKeyStoreTest.java:281: warning: ConnectorBootstrap is Sun proprietary API and may be removed in a future release
                      cs = ConnectorBootstrap.initialize();
                           ^
      C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\management\jmxremote\bootstrap\RmiSslNoKeyStoreTest.java:282: warning: AgentConfigurationError is Sun proprietary API and may be removed in a future release
                  } catch (AgentConfigurationError x) {
                           ^
      4 warnings

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell/timeout=300 RmiSslNoKeyStoreTest.sh
      TIME: 0.156 seconds
      messages:
      command: shell RmiSslNoKeyStoreTest.sh []
      reason: User specified action: run shell/timeout=300 RmiSslNoKeyStoreTest.sh
      elapsed time (seconds): 0.156
      STDOUT:
      Unrecognized system!
      STDERR:

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: