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

Test java/nio/channels/DatagramChannel/Connect.java fails (w2k)

XMLWordPrintable

    • b38
    • x86
    • windows_2000, windows_xp
    • Verified



      Name: iaR10016 Date: 12/01/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b29, JDK1.5.0-b28
                     (passes with JDK1.5.0-b26, JDK1.4.2-b28)
      Testbase : Regression-test
      Platform[s] : Windows (tested on Windows 2000 Pro, Windows XP Pro, Windows Server 2003)
      switch/Mode : -client
      Falling test: java/nio/channels/DatagramChannel/Connect.java

      Regression-test java/nio/channels/DatagramChannel/Connect.java test fails with timeout
      using JDK1.5.0-b29, JDK1.5.0-b28 on Windows even if time factor is set to 5.

      The test passes in 1-3 minutes on the same systems using JDK1.4.2-b28, JDK1.5.0-b26.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/nio/channels/DatagramChannel/Connect.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/regtest/win32/win2000_linux-2/workDir/test/java/nio/channels/DatagramChannel/Connect.jtr

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

      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #Paths in Java Software:
      JT_HOME="z:/jct-tools/3.1.2/archive/fcs/binaries"
      JEMMY_JAR="x:/Jemmy/jemmy.jar"
      JAVA_HOME="z:/jdk/1.5.0/promoted/all/b29/binaries/windows-i586"
      TEST_BASE_PATH="z:/jdk/1.5.0/promoted/all/b29/ws/j2se/test"

      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
      TEST="java/nio/channels/DatagramChannel/Connect.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-2" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/118)----------
      command: main Connect
      reason: Assumed action based on file name: run main Connect
      elapsed time (seconds): 600.003
      ----------System.out:(0/0)----------
      ----------System.err:(1/46)----------
       >From Actor: /129.144.234.212:1050 said hello
      result: Failed. Execution failed: Program `c:/j2sdk1.5.0 in\java' interrupted! (timed out?)

      test result: Failed. Execution failed: Program `c:/j2sdk1.5.0 in\java' interrupted! (timed out?)

      Specific machine info:
      ======================
      Hostname: linux-2
      OS: Windows 2000 Pro

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

            mmcclosksunw Michael Mccloskey (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: