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

RegTest-cte CTE_REGTEST/Generic/4213634/MnemonicBug.java failed

XMLWordPrintable

    • rc
    • x86
    • solaris_7
    • Verified



        Name: icR10030 Date: 05/08/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.4.2-b21
        Testbase : RegTest-cte
        Platform[s] : Solaris 7 (sparc) (OpenWindows)
        switch/Mode : -client
        Falling test[s]:
                 CTE_REGTEST/Generic/4213634/MnemonicBug.java

        RegTest-cte CTE_REGTEST/Generic/4213634/MnemonicBug.java test fails on JDK1.4.2-b21

        OpenWindows has such focus policy, that new created window does not receive focus, therefore
        keyboard events are not sent to window by robot and test fails.

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

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b21/regtest/sparc/sol7_sparc-client_linux-7/workDir/cte/CTE_REGTEST/Generic/4213634/MnemonicBug.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="/net/linux-15/export/home/java/jct"
        JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/sparc"
        TEST_BASE_PATH="/net/linux-15/export/home/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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST=

        -DDISPLAY=:0 -DlocalHost="linux-7" -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/4213634/MnemonicBug.java"

        --- script end ---

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

        Test output (jtr part):
        =======================
        ----------System.out:(1/12)----------
        Test Failed
        ----------System.err:(13/672)----------
        java.lang.RuntimeException: Failed
        at MnemonicBug.main(MnemonicBug.java:93)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
        at java.lang.Thread.run(Thread.java:534)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed


        Specific machine info:
        ======================
        Hostname: linux-7
        OS: Solaris 7 (sparc) (CDE)



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

        Name: icR10030 Date: 05/08/2003


        It seems, that two more tests fails due to the bug:
             CTE_REGTEST/Generic/4531693/DialogTest.java
             CTE_REGTEST/Generic/4712781/ThankGodForBackup.java





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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: