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

regression test java/awt/Toolkit/RealSync/Test.java fails in b87

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • None
    • sparc
    • solaris_10

      Java Version: build 1.6.0-rc-b87
      Platform: solaris_sparc10

      Problems:
      The regression test for realSync feature works got failed.
      Test failed: testFocus2
      Cause: 1: null
      Cause: - Focus owner: null
      Cause: - Focused window: null
      Events:
      java.awt.event.ContainerEvent[COMPONENT_ADDED,child=button0] on frame0
      java.awt.event.ContainerEvent[COMPONENT_ADDED,child=button1] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Frame[frame0,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus2,resizable,normal],oldState=0,newState=0] on frame1
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=java.awt.Frame[frame0,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus2,resizable,normal],oldState=0,newState=0] on frame1
      java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=java.awt.Frame[frame1,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus1,resizable,normal],oldState=0,newState=0] on frame0
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[frame1,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus1,resizable,normal],oldState=0,newState=0] on frame0
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,69,35,28x24,label=b1]
      java.awt.event.ComponentEvent[COMPONENT_SHOWN] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=30,width=188,height=5]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=35,width=63,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=97,y=35,width=5,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=130,y=35,width=64,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=59,width=188,height=135]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=28,height=24]] on button0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=28,height=24]] on button1
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=0,height=0]] on frame0
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(98,179),absolute(198,279),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(76,67),absolute(176,167),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(78,65),absolute(178,165),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(80,62),absolute(180,162),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(82,59),absolute(182,159),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_EXITED,(83,57),absolute(183,157),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(14,22),absolute(183,157),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,21),absolute(184,156),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,20),absolute(184,155),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,21),absolute(184,156),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_EXITED,(13,24),absolute(182,159),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(82,59),absolute(182,159),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(88,189),absolute(188,289),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_EXITED,(102,231),absolute(202,331),button=0,clickCount=0] on frame0
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=java.awt.Button[button1,102,35,28x24,label=b2],cause=UNKNOWN] on java.awt.Button[button0,69,35,28x24,label=b1]
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,69,35,28x24,label=b1],cause=UNKNOWN] on java.awt.Button[button1,102,35,28x24,label=b2]
      java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,102,35,28x24,label=b2]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on frame0
      FAILURE MOMENT
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on frame0
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

      How to Reproduce:
      1. set JAVA_HOME to b87
      2. run the script as following:
      JAVA_HOME="JAVA_HOME"

      /net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg \
      -cpa:/net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/sail16/Jemmy/jemmy.jar \
      -r:./2d-reportDir \
      -w:./2d-workDir \
      /java/re/jdk/1.6.0/promoted/rc/b87/ws/j2se/test/java/awt/Toolkit/RealSync/Test.java

      The jtr file:
      #Test Results (version 2)
      #Tue Jun 13 16:32:52 PDT 2006
      #checksum:1074e23814646137
      #-----testdescription-----
      $file=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/Toolkit/RealSync/Test.java
      $root=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test
      author=denis.mikhalkin: area=awt.toolkit
      keywords=bug6252005
      run=USER_SPECIFIED main/timeout=6000 Test\n
      source=Test.java
      title=Tests that realSync feature works

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

      #-----testresult-----
      description=file:///net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/Toolkit/RealSync/Test.java
      end=Tue Jun 13 16:32:52 PDT 2006
      environment=regtest
      execStatus=Failed. Unexpected exit from test [exit code: 1]
      javatestOS=SunOS 5.10 (sparc)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Tue Jun 13 16:24:24 PDT 2006
      status=Failed. Unexpected exit from test [exit code: 1]
      test=java/awt/Toolkit/RealSync/Test.java
      work=/net/cady/export4/2d-workDir/java/awt/Toolkit/RealSync

      #section:script_messages
      ----------messages:(4/213)----------
      JDK under test: (/java/re/jdk/1.6.0/promoted/rc/b87/binaries/solaris-sparc)
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b87)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b87, mixed mode)

      #section:build
      ----------messages:(3/90)----------
      command: build Test
      reason: Named class compiled on demand
      elapsed time (seconds): 9.658
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/182)----------
      command: compile /net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/java/awt/Toolkit/RealSync/Test.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 9.65
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/110)----------
      command: main Test
      reason: User specified action: run main/timeout=6000 Test
      elapsed time (seconds): 497.575
      ----------System.out:(0/0)----------
      ----------System.err:(55/5109)----------
      Test failed: testFocus2
      Cause: 1: null
      Cause: - Focus owner: null
      Cause: - Focused window: null
      Events:
      java.awt.event.ContainerEvent[COMPONENT_ADDED,child=button0] on frame0
      java.awt.event.ContainerEvent[COMPONENT_ADDED,child=button1] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_MOVED (69,35 28x24)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (102,35 28x24)] on button1
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Frame[frame0,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus2,resizable,normal],oldState=0,newState=0] on frame1
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=java.awt.Frame[frame0,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus2,resizable,normal],oldState=0,newState=0] on frame1
      java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=java.awt.Frame[frame1,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus1,resizable,normal],oldState=0,newState=0] on frame0
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[frame1,100,100,200x200,hidden,layout=java.awt.FlowLayout,title=testFocus1,resizable,normal],oldState=0,newState=0] on frame0
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,69,35,28x24,label=b1]
      java.awt.event.ComponentEvent[COMPONENT_SHOWN] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=30,width=188,height=5]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=35,width=63,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=97,y=35,width=5,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=130,y=35,width=64,height=24]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=6,y=59,width=188,height=135]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=28,height=24]] on button0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=28,height=24]] on button1
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=0,height=0]] on frame0
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(98,179),absolute(198,279),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(76,67),absolute(176,167),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(78,65),absolute(178,165),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(80,62),absolute(180,162),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(82,59),absolute(182,159),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_EXITED,(83,57),absolute(183,157),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(14,22),absolute(183,157),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,21),absolute(184,156),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,20),absolute(184,155),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(15,21),absolute(184,156),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_EXITED,(13,24),absolute(182,159),button=0,clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_ENTERED,(82,59),absolute(182,159),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_MOVED,(88,189),absolute(188,289),button=0,clickCount=0] on frame0
      java.awt.event.MouseEvent[MOUSE_EXITED,(102,231),absolute(202,331),button=0,clickCount=0] on frame0
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=java.awt.Button[button1,102,35,28x24,label=b2],cause=UNKNOWN] on java.awt.Button[button0,69,35,28x24,label=b1]
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,69,35,28x24,label=b1],cause=UNKNOWN] on java.awt.Button[button1,102,35,28x24,label=b2]
      java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,102,35,28x24,label=b2]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on frame0
      FAILURE MOMENT
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on frame0
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

            son Oleg Sukhodolsky (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: