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

TEST_BUG: CTE_REGTEST/Generic/4494358/S017.java failed

XMLWordPrintable

    • rc
    • x86
    • windows_xp
    • Verified



      Name: aaR10208 Date: 04/08/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b04
      Testbase : RegTest-cte
      Platform[s] : Windows XP Pro
      switch/Mode : -server
      Falling test[s]: CTE_REGTEST/Generic/4494358/S017.java

      RegTest-cte CTE_REGTEST/Generic/4494358/S017.java test fails on JDK1.5.0-b04.
      The test tries to extract testcase.jar file (probably with a native libs),
      but such jar does not exists at the ${TESTSRC} location, so the java launcher
      unable to start with -Xrun... option and the test fails.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4494358/S017.java
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4494358/Test4494358.sh

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/cte/CTE_REGTEST/Generic/4494358/S017.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      TESTJAVA=c:/j2sdk1.5.0
      TESTBASE=k:/regtest.tiger/cte
      TESTSRC=$TESTBASE/CTE_REGTEST/Generic/4494358/
      TESTCLASSES=.

      export TESTJAVA
      export TESTSRC
      export TESTCLASSES

      sh $TESTSRC/Test4494358.sh
      --- script end ---

      Script output:
      ==============
      java.io.FileNotFoundException: k:\regtest.tiger\cte\CTE_REGTEST\Generic\4494358testcase.jar (The system cannot find the file specified)
               at java.io.FileInputStream.open(Native Method)
               at java.io.FileInputStream.<init>(FileInputStream.java:106)
               at java.io.FileInputStream.<init>(FileInputStream.java:66)
               at sun.tools.jar.Main.run(Main.java:185)
               at sun.tools.jar.Main.main(Main.java:904)
      [...]

      Test output (jtr part):
      =======================
      ----------System.err:(8/535)*----------
      java.io.FileNotFoundException: k:\\regtest.tiger\\cte\\CTE_REGTEST\\Generic\\4494358\\testcase.jar (The system cannot find the file specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at java.io.FileInputStream.(FileInputStream.java:66)
      at sun.tools.jar.Main.run(Main.java:185)
      at sun.tools.jar.Main.main(Main.java:904)
      kill: k:\\regtest.tiger\\cte\\CTE_REGTEST\\Generic\\4494358\\Test4494358.sh 82: Usage: kill -l [status]
      kill [-s SIGNAL] job ...
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro

      ======================================================================

            asaha Abhijit Saha
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: