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

RegTest-cte CTE_REGTEST/Generic/4712781/ThankGodForBackup.java fails

XMLWordPrintable

    • beta
    • generic, x86
    • generic, linux
    • Verified

      4869745

      Name: mmR10223 Date: 06/10/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b25, JDK1.4.2-b24
      Testbase : RegTest-cte
      Platform[s] : Solaris (sparc)
      switch/Mode : default
      Falling test[s]: CTE_REGTEST/Generic/4712781/ThankGodForBackup.java

      The test fails on model "SUNW Ultra-1" (sparc) only and passes using JDK1.4.2. on all other platforms.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/cte/CTE_REGTEST/Generic/4712781/ThankGodForBackup.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

      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_U
      S,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/4712781/ThankGodForBackup.java"

      --- script end ---

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

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

      #section:build
      ----------messages:(3/98)----------
      command: build Test4712781
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0080
      result: Passed. No need to compile: Test4712781.java

      #section:main
      ----------messages:(3/110)----------
      command: main Test4712781
      reason: User specified action: run main Test4712781
      elapsed time (seconds): 39.507
      ----------System.out:(39/6765)----------
      Trace:
      Start to wait dialog "JFileChooser's window" opened
      Trace:
      Component Any javax.swing.JFileChooser
          was found in container
      javax.swing.JDialog[dialog0,321,272,510x356,invalid,layout=java.awt.BorderLayout,modal,title=Open,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.J
      RootPane[,5,25,500x326,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferre
      dSize=],rootPaneCheckingEnabled=true]
          
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      Trace:
      Dialog "JFileChooser's window" has been opened in 26 milliseconds
          
      javax.swing.JDialog[dialog0,321,272,510x356,invalid,layout=java.awt.BorderLayout,modal,title=Open,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.J
      RootPane[,5,25,500x326,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferre
      dSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait Any javax.swing.JFileChooser loaded"
      Trace:
      "Wait Any javax.swing.JFileChooser loaded" action has been produced in 49 milliseconds with result
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      Trace:
      Click 1times on "temp2" file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      Trace:
      Click 1times on 35`th file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      Trace:
      Click 1times on "temp1" file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/Testcase.c,useFileHiding=true]
      Trace:
      Click 1times on 34`th file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/Testcase.c,useFileHiding=true]
      Trace:
      Click 1times on "temp1" file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/temp1,useFileHiding=true]
      Trace:
      Click 1times on 34`th file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/temp1,useFileHiding=true]
      Trace:
      Click 1times on "temp2" file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/temp1,useFileHiding=true]
      Trace:
      Click 1times on 35`th file in JFileChooser
          :
      javax.swing.JFileChooser[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1a5ec6c,fla
      gs=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/net/linux-15/export/home/results_full/mantis/b25/regtest/sparc/sol7_spa
      rc_linux-7/workDir/cte,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=/net/linux-15/export/home/resu
      lts_full/mantis/b25/regtest/sparc/sol7_sparc_linux-7/workDir/cte/temp1,useFileHiding=true]
      Test Failed
      ----------System.err:(13/687)----------
      java.lang.RuntimeException: Test Failed
      at Test4712781.main(Test4712781.java:63)
      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: Test Failed
      JavaTest Message: shutting down test

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


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


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


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: