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

regression test awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh fails

XMLWordPrintable

    • b07
    • sparc
    • solaris_10
    • Verified

      Java Version: build 1.6.0-rc-b87
      PlatWrom: LMHAALPTCXLYRWT

      Problems:
      The regression test has two test cases, one run main which passes, but the other run shell fails with the exception and err:

      I/O exception while reading: /te{st.html (No such file or directory)
      The test failed :-(
      exit status was 1
      ----------System.err:(2/235)----------
      /net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh: kill: no such process
      test failed for file:/te%7Bst.html, see err file and CRs #6193279,6329251,6376334
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

      How to reproduce:
      1. set JAVA_HOME to b87
      2. run the following script:
      JAVA_HOME="JAVA_HOME"

      /net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg \
      -cpa:/net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/sail16/Jemmy/jemmy.jar \
      -r:./2d-reportDir \
      -w:./2d-workDir \
      /java/re/jdk/1.6.0/promoted/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh

      The jtr file as following:
      #Test Results (version 2)
      #Wed Jun 14 12:02:22 PDT 2006
      #checksum:6ea79e78b5f84e85
      #-----testdescription-----
      $file=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
      $root=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test
      author=###@###.### : area=appletviewer
      keywords=bug6193279 shell
      run=USER_SPECIFIED compile IOExceptionIfEncodedURLTest.java\nUSER_SPECIFIED main IOExceptionIfEncodedURLTest\nUSER_SPECIFIED shell IOExceptionIfEncodedURLTest.sh\n
      source=IOExceptionIfEncodedURLTest.sh
      title=REGRESSION: AppletViewer throws IOException when path is encoded URL

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

      #-----testresult-----
      description=file:///net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
      end=Wed Jun 14 12:02:22 PDT 2006
      environment=regtest
      execStatus=Failed. Execution failed: exit code 1
      javatestOS=SunOS 5.10 (sparc)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages compile build main shell
      start=Wed Jun 14 12:01:56 PDT 2006
      status=Failed. Execution failed: exit code 1
      test=java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
      work=/net/cady/export4/2d-workDir/java/awt/appletviewer/IOExceptionIfEncodedURLTest

      #section:script_messages
      ----------messages:(4/213)----------
      JDK under test: (/java/re/jdk/1.6.0/promoted/rc/b87/binaries/solaris-sparc)
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b87)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b87, mixed mode)

      #section:compile
      ----------messages:(3/257)----------
      command: compile /net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java
      reason: User specified action: run compile IOExceptionIfEncodedURLTest.java
      elapsed time (seconds): 8.471
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

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

      #section:main
      ----------messages:(3/141)----------
      command: main IOExceptionIfEncodedURLTest
      reason: User specified action: run main IOExceptionIfEncodedURLTest
      elapsed time (seconds): 1.307
      ----------System.out:(0/0)----------
      ----------System.err:(3/163)----------
      prior checking...
      url=file:IOExceptionIfEncodedURLTest.java -> path=/net/cady/export4/2d-workDir/scratch/,filename=IOExceptionIfEncodedURLTest.java
      STATUS:Passed.
      result: Passed. Execution successful

      #section:shell
      ----------messages:(3/151)----------
      command: shell IOExceptionIfEncodedURLTest.sh
      reason: User specified action: run shell IOExceptionIfEncodedURLTest.sh
      elapsed time (seconds): 15.249
      ----------System.out:(4/184)----------
      JDK under test is: /java/re/jdk/1.6.0/promoted/rc/b87/binaries/solaris-sparc
      I/O exception while reading: /te{st.html (No such file or directory)
      The test failed :-(
      exit status was 1
      ----------System.err:(2/235)----------
      /net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh: kill: no such process
      test failed for file:/te%7Bst.html, see err file and CRs #6193279,6329251,6376334
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

            dcherepanov Dmitry Cherepanov
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: