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

RegTest-cte CTE_REGTEST/Generic/4514097/PingPong.java failed

XMLWordPrintable

    • rc
    • x86
    • windows_xp
    • Verified



        Name: icR10030 Date: 06/27/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.4.2-b27
        Testbase : RegTest-cte
        Platform[s] : Windows XP Home, Windows XP Pro
        switch/Mode : -client, -server
        Falling test[s]:
                 CTE_REGTEST/Generic/4514097/PingPong.java

        RegTest-cte CTE_REGTEST/Generic/4514097/PingPong.java test fails on JDK1.4.2-b27
        The test unzips libso.jar file and tries "mv Windows-libdev1.so libdev1.so"
        But there are dev1.dll instead of Windows-libdev1.so in libso.jar.

        Test source location:
        =====================
        /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4514097/PingPong.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b27/regtest/win32/winXP_HE_-client_linux-21/workDir/cte/CTE_REGTEST/Generic/4514097/PingPong.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
        JT_HOME="h:/java/jct"
        JAVA_HOME="h:/java/jdk1.4.2/win32"
        TEST_BASE_PATH="h:/java/regtest/cte"

        TESTWITH=$JAVA_HOME
        TESTJAVA=$JAVA_HOME

        JTOPTS="-client"
        TESTVMOPTS="-client"

        CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"

        export JAVA_HOME
        export JT_HOME
        export TESTWITH
        export CLASSPATH

        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 -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST=

        -DDISPLAY=:0 -DlocalHost="linux-21" -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/CTE_REGTEST/Generic/4514097/PingPong.java"

        --- script end ---

        Script output:
        ==============

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

        #section:shell
        ----------messages:(3/133)----------
        command: shell Test4514097.sh
        reason: User specified action: run shell/timeout=240 Test4514097.sh
        elapsed time (seconds): 1.141
        ----------System.out:(5/134)----------
        extracted: i386-libdev1.so
        extracted: Linux-libdev1.so
        extracted: sparc-libdev1.so
        extracted: dev1.dll
        Invalid output, check it.
        ----------System.err:(2/100)----------
        mv: Windows-libdev1.so: The system cannot find the file specified.
        java full version "1.4.2-b27"
        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
        Hostname: linux-21
        OS: Windows XP Home



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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: