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

"Swing_AllComponents/Automated/rfe4959680" test case failed

    Details

      Description

      Test suite: Swing 6.0
      Test case: Swing_AllComponents/Automated/rfe4959680
      JDK: all builds of jdk6. It was tried with 6u10 and 6u13
      platform: it was tried with linux x86

      As I already reported that the test case "Swing_AllComponents/Automated/rfe4959680" doesn't work properly with Tonga2 (see CR 6830496). But it hung if it was started with Tonga3. Output message is the following:

      "
      workdir=/net/stt-13/export/stt/gtee/global/1.6.0_12/b04_j4b/swing/13/swing/suse10_x86-i586/1.6.0_13_b04_j4b_suse10_x86-i586/stt-robot.Linux.i386/rfe4959680
      about to load Test Case List
      current testcase TextPaneTestCase
      pos_after1
      pos_before0
      TAB functioning properly
      CTRL+TAB functioning properly
      CTRL+SHIFT+TAB functioning properly
      TAB functioning properly
      position after moving one word to right : 5
      CTRL+RIGHT 1 functioning properly
      CTRL+RIGHT 2 functioning properly
      CTRL+LEFT 1 functioning properly
      CTRL+LEFT 2 functioning properly
      RIGHT functioning properly
      DOWN functioning properly
      UP functioning properly
      LEFT functioning properly
       end_afterdelete29
      end_first34
      DELETE functioning properly
      HOME functioning properly
      caret position at the end of the text is : 88
      caret position EXPECTED at the end of the text is : 88
      CTRL+END functioning properly
      CTRL+HOME functioning properly
      CTRL+A functioning properly
      SHIFT+HOME functioning properly
      CTRL+SHIFT+END functioning properly
      CTRL+SHIFT+HOME functioning properly
      COPY AND PASTE functioning properly
      CUT AND PASTE functioning properly
      TextPaneTestCase PASSED
      current testcase ButtonTestCase
      /net/stt-13/export/stt/gtee/global/1.6.0_12/b04_j4b/swing/13/swing/suse10_x86-i586/1.6.0_13_b04_j4b_suse10_x86-i586/stt-robot.Linux.i386/rfe4959680/data/ButtonTestCase/Button.xml
      Activate Default functioning properly
      Navigate forward not functional
      Activate any not functional
      Navigate backward functioning properly
      Activate any using mnemonic functioning properly
      ButtonTestCase FAILED
      current testcase SliderTestCase
      Forward navigation not functional
      Backward navigation not functional
      Increase of value using UP not functional
      Decrease of value using DOWN not functional
      Increase of value using RIGHT not functional
      Decrease of value using LEFT not functional
      Block increase of value not functional
      Block decrease of value not functional
      Jump to max. value not functional
      Jump to min. value not functional
      SliderTestCase FAILED
      current testcase CheckBoxMenuItemTestCase
      fileNamedata/CheckboxMenuItemTestCase/CheckBoxMenuItem.xml
      No XML file specifications found for this component
      Popup is functioning properly
      DOWN key functioning properly
      UP not functional
      Popup is not functioning properly
      DOWN key not functional
      Popup is functioning properly
      Check item and retract menu not functional
      DOWN not functional
      DOWN not functional
      Uncheck item and retract menu functioning properly
      CheckBoxMenuItemTestCase FAILED
      current testcase ListTestCase
      Forward navigation functioning properly
      Backward navigation functioning properly
      DOWN functioning properly
      sel_index 0
      act_index 2
      UP functioning properly
      CTRL+END functioning properly
      CTRL+HOME functioning properly
      Cleared all selections
      Select All functioning properly
      Block move up functioning properly
      ListTestCase PASSED
      current testcase TreeTestCase
      testCaseName= /net/stt-13/export/stt/gtee/global/1.6.0_12/b04_j4b/swing/13/swing/suse10_x86-i586/1.6.0_13_b04_j4b_suse10_x86-i586/stt-robot.Linux.i386/rfe4959680/data/TreeTestCase/Tree.xml
      Forward navigation not functional
      Backward navigation not functional
      Collapse entry not functional
      Expand entry functioning properly
      Move down not functional
      Move up not functional
      Move to last entry not functional
      Move to first entry not functional
      Select all using CTRL+A not functional
      Deselect all not functional
      Select all using CTRL+/ not functional
      TreeTestCase FAILED
      current testcase ComboBoxTestCase
      /net/stt-13/export/stt/gtee/global/1.6.0_12/b04_j4b/swing/13/swing/suse10_x86-i586/1.6.0_13_b04_j4b_suse10_x86-i586/stt-robot.Linux.i386/rfe4959680/data/ComboBoxTestCase/ComboBox.xml
      TAB functioning properly
      ALT+DOWN functioning properly
      ESCAPE functioning properly
      Toggle using ALT+UP functioning properly
      Toggle using ALT+DOWN functioning properly
      DOWN functioning properly
      UP functioning properly
      Jump to MenuItem functioning properly
      ENTER functioning properly
      ComboBoxTestCase PASSED
      current testcase TextFieldTestCase
      TAB functioning properly
      "

      You can see here that some of the test cases failed.
      Moreover test hangs forever. The reason is in the exception:
        

      java.lang.reflect.InvocationTargetException
             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
             at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
             at rfe4959680.<init>(rfe4959680.java:47)
             at rfe4959680.main(rfe4959680.java:68)
      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 3
             at java.lang.String.substring(String.java:1935)
             at TextFieldTestCase.invokeEvents(TextFieldTestCase.java:649)
             at TextFieldTestCase.<init>(TextFieldTestCase.java:72)
             ... 6 more

      which happened in the test case "TextFieldTestCase" during attempt to get substring from the TextField.

      How to reproduce:
      # ssh stt-robot@stt-29
      # cd /net/stt-13/export/stt/gtee/global/1.6.0_12/b04_j4b/swing/13/swing/suse10_x86-i586/1.6.0_13_b04_j4b_suse10_x86-i586/stt-robot.Linux.i386/rfe4959680/
      # export DISPLAY=:0.0
      #sh rfe4959680.tlog

      It is not a regression...

        Attachments

          Activity

            People

            • Assignee:
              peterz Peter Zhelezniakov (Inactive)
              Reporter:
              afomin Alexander Fomin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: