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

Two java/awt/Dialog regression tests fail on Linux

XMLWordPrintable

    • generic
    • linux

      Testsuite name: Regression
      Test names:
          java/awt/Dialog/4255200/ModalTest.java
          java/awt/Dialog/DialogLocationTest/DialogLocationTest.html
      JDK tested: JDK 1.5.0 u39 b03
      OS tested: Oracle Linux UEL 6.0
      Is it a regression: No
      Result on FCS: Fail

      Logs:

      java/awt/Dialog/4255200/ModalTest.java

      #section:main
      ----------messages:(3/110)----------
      command: main Test4255200
      reason: User specified action: run main Test4255200
      elapsed time (seconds): 70.631
      ----------System.out:(21/2011)----------
      Using org.netbeans.jemmy.drivers.DefaultDriverInstaller driver installer
      Using org.netbeans.jemmy.drivers.DefaultDriverInstaller driver installer
      Trace:
      Start to wait frame "Frame with title "Modal Test Win 1"" opened
      Trace:
      Frame "Frame with title "Modal Test Win 1"" has been opened in 4 milliseconds
          ModalTest[frame0,200,200,300x400,layout=java.awt.BorderLayout,title=Modal Test Win 1,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,2,26,296x370,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait frame "Frame with title "Modal Test Win 2"" opened
      Trace:
      Frame "Frame with title "Modal Test Win 2"" has been opened in 0 milliseconds
          ModalTest[frame1,500,200,300x400,layout=java.awt.BorderLayout,title=Modal Test Win 2,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,2,26,296x370,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "New Modal Dlog" loaded"
      Trace:
      "Wait AbstractButton with text "New Modal Dlog" loaded" action has been produced in 4 milliseconds with result
          : javax.swing.JButton[,139,5,137x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@7471dc3d,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=New Modal Dlog,defaultCapable=true]
      Trace:
      Start to wait dialog "Dialog with title "Select an Option"" opened
      org.netbeans.jemmy.TimeoutExpiredException: Dialog with title "Select an Option"
      Test Failed
      ----------System.err:(15/767)----------
      Error:
      Dialog "Dialog with title "Select an Option"" has not been opened in 60003 milliseconds
      java.lang.RuntimeException: Failed
      at Test4255200.main(Test4255200.java:66)
      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:592)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:637)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed
      JavaTest Message: shutting down test

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


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

      java/awt/Dialog/DialogLocationTest/DialogLocationTest.html

      #section:applet
      ----------messages:(3/137)----------
      command: applet DialogLocationTest.html
      reason: User specified action: run applet DialogLocationTest.html
      elapsed time (seconds): 1.114
      ----------System.out:(84/6443)----------
      Failed in componentMoved() expect:[755,534] reported:[0,33] diff [-755,-501]
      Failed in componentMoved() expect:[231,152] reported:[755,534] diff [524,382]
      Failed on iteration 4 expect:[231,152] reported:[755,534] diff [524,382]
      Failed in componentMoved() expect:[764,560] reported:[231,152] diff [-533,-408]
      Failed on iteration 6 expect:[764,560] reported:[231,152] diff [-533,-408]
      Failed in componentMoved() expect:[88,252] reported:[975,530] diff [887,278]
      Failed on iteration 14 expect:[88,252] reported:[975,530] diff [887,278]
      Failed in componentMoved() expect:[972,155] reported:[346,60] diff [-626,-95]
      Failed on iteration 15 expect:[972,155] reported:[346,60] diff [-626,-95]
      Failed in componentMoved() expect:[392,553] reported:[852,340] diff [460,-213]
      Failed on iteration 17 expect:[392,553] reported:[639,456] diff [247,-97]
      Failed in componentMoved() expect:[329,371] reported:[392,553] diff [63,182]
      Failed on iteration 18 expect:[329,371] reported:[392,553] diff [63,182]
      Failed in componentMoved() expect:[165,354] reported:[329,371] diff [164,17]
      Failed on iteration 20 expect:[165,354] reported:[329,371] diff [164,17]
      Failed in componentMoved() expect:[97,187] reported:[378,82] diff [281,-105]
      Failed on iteration 25 expect:[97,187] reported:[378,82] diff [281,-105]
      Failed in componentMoved() expect:[785,614] reported:[681,70] diff [-104,-544]
      Failed on iteration 27 expect:[785,614] reported:[681,70] diff [-104,-544]
      Failed in componentMoved() expect:[239,499] reported:[197,165] diff [-42,-334]
      Failed on iteration 28 expect:[239,499] reported:[197,165] diff [-42,-334]
      Failed in componentMoved() expect:[177,511] reported:[715,513] diff [538,2]
      Failed on iteration 29 expect:[177,511] reported:[631,46] diff [454,-465]
      Failed in componentMoved() expect:[177,511] reported:[631,46] diff [454,-465]
      Failed in componentMoved() expect:[132,116] reported:[97,187] diff [-35,71]
      Failed on iteration 30 expect:[132,116] reported:[97,187] diff [-35,71]
      Failed in componentMoved() expect:[397,123] reported:[451,191] diff [54,68]
      Failed on iteration 31 expect:[397,123] reported:[239,499] diff [-158,376]
      Failed in componentMoved() expect:[397,123] reported:[239,499] diff [-158,376]
      Failed in componentMoved() expect:[747,509] reported:[177,511] diff [-570,2]
      Failed in componentMoved() expect:[747,509] reported:[132,116] diff [-615,-393]
      Failed in componentMoved() expect:[747,509] reported:[397,123] diff [-350,-386]
      Failed in componentMoved() expect:[747,509] reported:[958,46] diff [211,-463]
      Failed in componentMoved() expect:[747,509] reported:[756,336] diff [9,-173]
      Failed on iteration 53 expect:[747,509] reported:[756,336] diff [9,-173]
      Failed in componentMoved() expect:[823,426] reported:[906,80] diff [83,-346]
      Failed on iteration 54 expect:[823,426] reported:[906,80] diff [83,-346]
      Failed in componentMoved() expect:[268,196] reported:[798,275] diff [530,79]
      Failed on iteration 55 expect:[268,196] reported:[798,275] diff [530,79]
      Failed in componentMoved() expect:[754,504] reported:[218,404] diff [-536,-100]
      Failed on iteration 56 expect:[754,504] reported:[218,404] diff [-536,-100]
      Failed in componentMoved() expect:[973,485] reported:[824,346] diff [-149,-139]
      Failed on iteration 57 expect:[973,485] reported:[824,346] diff [-149,-139]
      Failed in componentMoved() expect:[907,128] reported:[934,344] diff [27,216]
      Failed on iteration 58 expect:[907,128] reported:[215,44] diff [-692,-84]
      Failed in componentMoved() expect:[907,128] reported:[215,44] diff [-692,-84]
      Failed in componentMoved() expect:[634,180] reported:[108,514] diff [-526,334]
      Failed on iteration 61 expect:[634,180] reported:[108,514] diff [-526,334]
      Failed in componentMoved() expect:[271,570] reported:[459,291] diff [188,-279]
      Failed on iteration 62 expect:[271,570] reported:[489,222] diff [218,-348]
      Failed in componentMoved() expect:[271,570] reported:[489,222] diff [218,-348]
      Failed in componentMoved() expect:[136,217] reported:[204,473] diff [68,256]
      Failed on iteration 83 expect:[136,217] reported:[204,473] diff [68,256]
      Failed in componentMoved() expect:[531,11] reported:[478,99] diff [-53,88]
      Failed on iteration 84 expect:[531,11] reported:[478,99] diff [-53,88]
      Failed in componentMoved() expect:[318,305] reported:[268,196] diff [-50,-109]
      Failed on iteration 92 expect:[318,305] reported:[268,196] diff [-50,-109]
      Failed in componentMoved() expect:[254,531] reported:[754,504] diff [500,-27]
      Failed on iteration 93 expect:[254,531] reported:[754,504] diff [500,-27]
      Failed in componentMoved() expect:[404,115] reported:[973,485] diff [569,370]
      Failed in componentMoved() expect:[404,115] reported:[907,128] diff [503,13]
      Failed in componentMoved() expect:[404,115] reported:[751,573] diff [347,458]
      Failed in componentMoved() expect:[404,115] reported:[962,190] diff [558,75]
      Failed in componentMoved() expect:[404,115] reported:[634,180] diff [230,65]
      Failed in componentMoved() expect:[404,115] reported:[271,570] diff [-133,455]
      Failed on iteration 94 expect:[404,115] reported:[271,570] diff [-133,455]
      Failed in componentMoved() expect:[604,160] reported:[546,601] diff [-58,441]
      Failed in componentMoved() expect:[604,160] reported:[609,612] diff [5,452]
      Failed in componentMoved() expect:[604,160] reported:[479,33] diff [-125,-127]
      Failed in componentMoved() expect:[604,160] reported:[376,226] diff [-228,66]
      Failed in componentMoved() expect:[604,160] reported:[579,429] diff [-25,269]
      Failed in componentMoved() expect:[604,160] reported:[231,251] diff [-373,91]
      Failed in componentMoved() expect:[604,160] reported:[668,589] diff [64,429]
      Failed in componentMoved() expect:[604,160] reported:[463,33] diff [-141,-127]
      Failed in componentMoved() expect:[604,160] reported:[861,209] diff [257,49]
      Failed in componentMoved() expect:[604,160] reported:[905,459] diff [301,299]
      Failed in componentMoved() expect:[604,160] reported:[289,186] diff [-315,26]
      Failed in componentMoved() expect:[604,160] reported:[86,594] diff [-518,434]
      Failed in componentMoved() expect:[604,160] reported:[16,541] diff [-588,381]
      Failed in componentMoved() expect:[604,160] reported:[260,50] diff [-344,-110]
      Failed in componentMoved() expect:[604,160] reported:[809,393] diff [205,233]
      Failed in componentMoved() expect:[604,160] reported:[143,434] diff [-461,274]
      Failed in componentMoved() expect:[604,160] reported:[497,33] diff [-107,-127]
      Failed in componentMoved() expect:[604,160] reported:[529,492] diff [-75,332]
      ----------System.err:(6/429)----------
      java.lang.RuntimeException: Dialog Location was set incorrectly
      at DialogLocationTest.setDialogLocation(DialogLocationTest.java:173)
      at DialogLocationTest.start(DialogLocationTest.java:113)
      at com.sun.javatest.regtest.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
      at java.lang.Thread.run(Thread.java:637)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Dialog Location was set incorrectly
      result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Dialog Location was set incorrectly


      test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Dialog Location was set incorrectly

            vkarnauk Vladislav Karnaukhov
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: