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

REGTEST fails: SelectionAutoscrollTest.html

XMLWordPrintable

    • b114
    • generic, x86
    • linux, os_x, solaris_10

        The test fails on Linux Ubuntu sporadically. At the first glance it's a thread race because on failure it looks like the test closes the testing window much faster then when it is succeded.
        #Test Results (version 2)
        #Wed Aug 06 18:40:00 MSD 2008
        #checksum:73d3025510d860fc
        #-----testdescription-----
        $file=/.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html
        $root=/.../gnome_click/jdk/test
        author=...: area=TextArea
        keywords=bug6497109
        library=../../regtesthelpers
        run=USER_SPECIFIED build Util\nUSER_SPECIFIED applet SelectionAutoscrollTest.html\n
        source=SelectionAutoscrollTest.html
        title=TextArea must have selection expanding, and also be autoscrolled, if mouse is dragged from inside.

        #-----environment-----

        #-----testresult-----
        description=file:///.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html
        end=Wed Aug 06 18:40:00 MSD 2008
        environment=regtest
        execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.
        javatestOS=Linux 2.4.21-4.ELsmp (i386)
        javatestVersion=2.1.5
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build compile build applet
        start=Wed Aug 06 18:39:54 MSD 2008
        status=Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.
        test=java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html
        work=/.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/JTwork/java/awt/TextArea/UsingWithMouse

        #section:script_messages
        ----------messages:(4/253)----------
        JDK under test: (/.../gnome_click/jdk/build/linux-i586)
        java version "1.7.0-internal"
        Java(TM) SE Runtime Environment (build 1.7.0-internal-ad_2008_08_04_18_41-b00)
        OpenJDK Server VM (build 12.0-b03, mixed mode)

        #section:build
        ----------messages:(3/98)----------
        command: build Util
        reason: User specified action: run build Util
        elapsed time (seconds): 2.356
        result: Passed. Compilation successful

        #section:compile
        ----------messages:(3/235)----------
        command: compile /.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/../../regtesthelpers/Util.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 2.352
        ----------System.out:(0/0)----------
        ----------System.err:(4/463)----------
        Note: /.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/../../regtesthelpers/Util.java uses or overrides a deprecated API.
        Note: Recompile with -Xlint:deprecation for details.
        Note: /.../gnome_click/jdk/test/java/awt/TextArea/UsingWithMouse/../../regtesthelpers/Util.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        result: Passed. Compilation successful

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

        #section:applet
        ----------messages:(3/147)----------
        command: applet SelectionAutoscrollTest.html
        reason: User specified action: run applet SelectionAutoscrollTest.html
        elapsed time (seconds): 3.114
        ----------System.out:(2/132)----------
        TEST: Selection range after test is: ( 5, 51 )
        TEST: FAILED: Text should be selected to the end (selection range end should be 52).
        ----------System.err:(6/499)----------
        java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.
        at SelectionAutoscrollTest.checkResults(SelectionAutoscrollTest.java:186)
        at SelectionAutoscrollTest.start(SelectionAutoscrollTest.java:63)
        at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
        at java.lang.Thread.run(Thread.java:674)
        STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.
        result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.


        test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST: FAILED: Text should be selected to the end, but it is not.

              vagarwal Vikrant Agarwal
              dav Andrei Dmitriev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: