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

Regression test UntrustedProvider.java Failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • sparc
    • solaris_7



      Name: as83306 Date: 01/23/2001

      Regression test java/rmi/transport/untrustedProvider/UntrustedProvider.java Failing with Merlin build 48

      The test seems to be looking for a jar file in jdk/jre/bin rather than jdk/bin.

      #Test Results (version 2)
      #Thu Jan 18 16:48:06 PST 2001
      #checksum:56fe69b589f68bf9
      #-----testdescription-----
      $file=/export1/regression/merlin/jdk1.4Tests/current-tests/java/rmi/transport/untrustedProvider/UntrustedProvider.java
      $root=/export1/regression/merlin/jdk1.4Tests/current-tests
      author=Bob Scheifler
      keywords=bug4302502 othervm
      library=../../testlibrary
      run=USER_SPECIFIED build StreamPipe\nUSER_SPECIFIED build HackServerEndpoint\nUSER_SPECIFIED build UntrustedProvider\nUSER_SPECIFIED
      main/othervm/policy=security.policy UntrustedProvider\n
      source=UntrustedProvider.java
      title=test use of untrusted/unapproved security providers

      #-----environment-----

      #-----testresult-----
      description=file:///export1/regression/merlin/jdk1.4Tests/current-tests/java/rmi/transport/untrustedProvider/UntrustedProvider.java
      end=Thu Jan 18 16:48:06 PST 2001
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build compile build compile build main
      start=Thu Jan 18 16:47:57 PST 2001
      status=Failed. Execution failed: `main' threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      test=java/rmi/transport/untrustedProvider/UntrustedProvider.java
      work=/export0/results/regression/merlin/b48/tiggr5.7-jth13-jdk14b48.01-18.15.17-ALL/java/rmi/transport/untrustedProvider

      #section:script_messages
      ----------messages:(1/76)----------
      JDK under test: java full version "1.4.0-beta-b48" (/export1/java/jdk14b48)

      #section:build
      ----------messages:(3/110)----------
      command: build StreamPipe
      reason: User specified action: run build StreamPipe
      elapsed time (seconds): 2.504
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/222)----------
      command: compile
      /export1/regression/merlin/jdk1.4Tests/current-tests/java/rmi/transport/untrustedProvider/../../testlibrary/StreamPipe.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.502
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/126)----------
      command: build HackServerEndpoint
      reason: User specified action: run build HackServerEndpoint
      elapsed time (seconds): 2.753
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/212)----------
      command: compile /export1/regression/merlin/jdk1.4Tests/current-tests/java/rmi/transport/untrustedProvider/HackServerEndpoint.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.752
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/123)----------
      command: build UntrustedProvider
      reason: User specified action: run build UntrustedProvider
      elapsed time (seconds): 3.16
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/211)----------
      command: compile /export1/regression/merlin/jdk1.4Tests/current-tests/java/rmi/transport/untrustedProvider/UntrustedProvider.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 3.158
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/104)----------
      command: build UntrustedProvider
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0010
      result: Passed. No need to compile: UntrustedProvider.java

      #section:main
      ----------messages:(3/152)----------
      command: main UntrustedProvider
      reason: User specified action: run main/othervm/policy=security.policy UntrustedProvider
      elapsed time (seconds): 0.922
      ----------System.out:(0/0)----------
      ----------System.err:(17/889)----------
      java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      at java.lang.UNIXProcess.forkAndExec(Native Method)
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Runtime.java:551)
      at java.lang.Runtime.exec(Runtime.java:477)
      at java.lang.Runtime.exec(Runtime.java:443)
      at UntrustedProvider.run(UntrustedProvider.java:159)
      at UntrustedProvider.main(UntrustedProvider.java:179)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      result: Failed. Execution failed: `main' threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found


      test result: Failed. Execution failed: `main' threw exception: java.io.IOException: /export1/java/jdk14b48/jre/bin/jar: not found
      ======================================================================

            bscheiflsunw Bob Scheifler (Inactive)
            apsmith Alan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: