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

test_bug: Reg-tests: CTE-tests, 6 invalid tests, Windows2000

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • unknown
    • other-libs
    • x86
    • windows_2000



      Name: aaR10208 Date: 07/19/2002



      Filed By : J2SE-SQA [###@###.###
      JDK/JRE : jdk1.4.1-b17
      Testbase : Regression testsuite, CTE tests
      Platform[s] : Windows 2000
      Failing Test :
      Generic/4294758/StreamPPApplet.java
      Generic/4280606/CrashTest.java
      Generic/4469394/WriteAfterConnect.java
      Generic/4477197/AVTest.java
      Generic/4482613/Test4482613.sh
      Generic/4498820/FileDialogDemo.java

      Here is the part of the Generic/4294758/Test4294758.sh (from the test 4294758/StreamPPApplet.java):
      -----
      [...]
      while [ $LOOP_COUNT != 40 ]
      do
          rm -f test.out
          ${TESTJAVA}${FS}bin${FS}appletviewer StreamPPApplet.html > test.out 2>&1 &
          C_PID=$!

          sleep $SLEEP_TIME

          case "$OS" in
      [...]
            Windows_NT )
      ! C_PID=`ps | grep "appletviewer" | grep "StreamPPApplet.html" | awk '{print $1}'`
      ! kill -s 9 $C_PID
              ;;
          esac
      -----

      The test script tries to find the AppletViewer's process using both the image
      name (grep "appletviewer") and a part of its command line (grep "StreamPPApplet.html").

      The problem is that ps command does not show the command line, so the "C_PID=..." line
      returns an empty PID and the kill command fails.

      As results, the appleviewer process is not killed and locks the test.out file.

      The same problem (the script tries to find a process using its command line)
      also exists in the other tests mentioned above.

      This behavior results the number of failures of the next tests, with a reason
      "Problem deleting file: test.out".

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4294758/StreamPPApplet.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4280606/CrashTest.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4469394/WriteAfterConnect.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4477197/AVTest.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4482613/Test4482613.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b17/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4498820/FileDialogDemo.jtr

      How to reproduce:
      =================
      Run any of these tests on Windows 2000.

      Test output (Generic/4294758/StreamPPApplet.jtr):
      ========================================
      [...]
      kill: H:\\java\\regtest\\cte\\CTE_REGTEST\\Generic\\4294758\\Test4294758.sh 82: Usage: kill -l [status]
              kill [-s SIGNAL] job ...
      grep: input file "test.out": Access is denied.
      result: Failed. Execution failed: Program `sh' interrupted! (timed out?)


      test result: Failed. Execution failed: Program `sh' interrupted! (timed out?)

      Specific Machine Info:
      ======================
      Hostname: linux-22
      OS: Windows 2000 Pro

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: