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

REGRESSION:two AWT(Focus) tests are failing with 131_19-b02 but Passing with 131_19-b01

    Details

    • Subcomponent:
    • Introduced In Build:
      b02
    • Introduced In Version:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      solaris

      Description

      REGRESSION:two AWT(Focus) tests are failing with 131_19-b02 but Passing with 131_19-b01

      The two tests are failing in Solaris but passing in Windows
      Testmachine Information:
      ------------------------
      bash-2.03$ uname -a
      SunOS urts078.india 5.8 Generic_117350-26 sun4u sparc SUNW,Ultra-5_10
      Testbase on testmachine is at /export/updates/awt_131/awt
      131_19-b02/b01 JDK is at /export/updates/jdks/j2sdk1_3_1_19-b02/b01

      Failed Testcase :
      -----------------
      <131-awt-ws>/Focus/src/automated/LightWeight/KeyEventtoComponent/KeyEventtoComponentTest.html
      <131-awt-ws>/Focus/src/automated/Mixed/ClickOppositeWindows/ClickOppositeWindowsTest1/ClickOppositeWindowsTest1.html

      Error description:
      ------------------
      Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: Keyboard events are received by the componentsdon't have focus

          * Focus/src/automated/Mixed/ClickOppositeWindows/ClickOppositeWindowsTest1/ClickOppositeWindowsTest1.html: Click Components in opposite windows

      Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: the focus owner not receives the key events

          * Focus/src/automated/LightWeight/KeyEventtoComponent/KeyEventtoComponentTest.html: KeyBoard events are received only by that one component in that active window.

      Please check the attached report for more information
      131_19-b02-report.tar.Z is for 131_19-b02 execution
      131_19-b01-report.tar.Z is for 131_19-b01 execution

      Master WS is at:
      /net/urts071.india.sun.com/export6/testSuites/1.3.1/awt
      Steps to execute with JTREG:
      -----------------------------
      1.
      Copy the awt WS to a local machine (or) to a share location in server(Where Samba is running)
      WS can found in :
      /net/urts071.india.sun.com/export6/testSuites/1.3.1/awt
      2.
       Touch a TEST.ROOT at the very top level -- same level of all test suite.
      3.
       Set the environment variable JAVA_HOME to proper jdk.
      4.
      Set the environment variable JTREG_HOME to proper JTREG Platform script file
      For Ex : export JTREG_HOME=/net/urts071.india.sun.com/export2/tools/sqe-tools2.1.6fcs/solaris
      5.
      sh runauto.ksh
      6.
      In the JavaTest GUI select the Test Parameter tab
      7. Under Which tests to Run
      Add only the above two testcases
      8.Select Test Execution Status tab and click on Start button to run the tests


      Steps to execute without JTREG
      ------------------------------
      1.
      Copy the awt WS to a local machine (or) to a share location in server(Where Samba is running)
      WS can found in :
      /net/urts071.india.sun.com/export6/testSuites/1.3.1/awt
      2. Go to the failed test case location
      For Ex.
      CD to <131-awt-WS>/Focus/src/automated/LightWeight/KeyEventtoComponent
      3.
      Compile the java files with 131_19-b02 jdk
      4
      Execute the html file to load the applet
      For Ex:
      <131_19-b02-JDK>/bin/appletviewer KeyEventtoComponentTest.html

      Note :
      to compile and execute you need awtsqe.jar on CLASSPATH
      awtsqe.jar file is available on the 131-AWT WS
      It is available on
      /net/urts071.india.sun.com/export6/testSuites/1.3.1/awt/awtsqe.jar

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                asaha Abhijit Saha
                Reporter:
                vmnsunw Vishnupriya Mn (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: