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

[TEST_BUG] : sanity/client/SwingSet/src/ProgressBarDemoTest.java failed with "Wait "greater then 1349" state to be reached

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      generic
    • OS:
      os_x

      Description

      java version "10-ea"
      Java(TM) SE Runtime Environment (build 10-ea+31)
      Java HotSpot(TM) 64-Bit Server VM (build 10-ea+31, mixed mode)

      Mac OS X 10.12 (x86_64)

      Error Log:
      ----------System.out:(71/6386)----------
      [TestNG] Running:
        sanity/client/SwingSet/src/ProgressBarDemoTest.java

      Using org.netbeans.jemmy.drivers.APIDriverInstaller driver installer
      Trace:
      Start to wait frame "Frame with title "ProgressBar Demo"" opened
      Trace:
      Frame "Frame with title "ProgressBar Demo"" has been opened in 1 milliseconds
          javax.swing.JFrame[frame0,240,198,800x600,invalid,layout=java.awt.BorderLayout,title=ProgressBar Demo,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,800x578,invalid,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 "Start Loading Text" loaded (ComponentOperator.WaitComponentTimeout)"
      Trace:
      "Wait AbstractButton with text "Start Loading Text" loaded (ComponentOperator.WaitComponentTimeout)" action has been produced in 56 milliseconds with result
          : javax.swing.JButton[,391,5,159x29,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@64b74c93,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Start Loading Text,defaultCapable=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "Stop Loading Text" loaded (ComponentOperator.WaitComponentTimeout)"
      Trace:
      "Wait AbstractButton with text "Stop Loading Text" loaded (ComponentOperator.WaitComponentTimeout)" action has been produced in 2 milliseconds with result
          : javax.swing.JButton[,555,5,158x29,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@64b74c93,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Stop Loading Text,defaultCapable=true]
      Trace:
      Start to wait action "Wait Any javax.swing.JProgressBar loaded (ComponentOperator.WaitComponentTimeout)"
      Trace:
      "Wait Any javax.swing.JProgressBar loaded (ComponentOperator.WaitComponentTimeout)" action has been produced in 15 milliseconds with result
          : com.sun.swingset3.demos.progressbar.ProgressBarDemo$1[,86,9,300x20,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource@11009d8d,flags=16777216,maximumSize=,minimumSize=,preferredSize=,orientation=HORIZONTAL,paintBorder=true,paintString=false,progressString=,indeterminateString=false]
      Push button
          :javax.swing.JButton[,391,5,159x29,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@64b74c93,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Start Loading Text,defaultCapable=true]
      Wait "1349" value in progressbar
          : com.sun.swingset3.demos.progressbar.ProgressBarDemo$1[,86,9,300x20,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource@11009d8d,flags=16777216,maximumSize=,minimumSize=,preferredSize=,orientation=HORIZONTAL,paintBorder=true,paintString=false,progressString=,indeterminateString=false]
      disposeAllWindows
      test ProgressBarDemoTest.test(): failure
      org.netbeans.jemmy.TimeoutExpiredException: Wait "greater then 1349" state to be reached (ComponentOperator.WaitStateTimeout)
      at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:208)
      at org.netbeans.jemmy.operators.Operator.waitState(Operator.java:714)
      at org.netbeans.jemmy.operators.JProgressBarOperator.waitValue(JProgressBarOperator.java:317)
      at ProgressBarDemoTest.checkCompleteProgress(ProgressBarDemoTest.java:152)
      at ProgressBarDemoTest.test(ProgressBarDemoTest.java:67)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      ===============================================
      sanity/client/SwingSet/src/ProgressBarDemoTest.java
      Total tests run: 1, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(16/1000)----------
      Error:
      "Wait "greater then 1349" state to be reached (ComponentOperator.WaitStateTimeout)" action has not been produced in 60003 milliseconds
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1

        Attachments

        1. dumpAll.xml
          19 kB
        2. failure.png
          failure.png
          1.35 MB
        3. window0.png
          window0.png
          58 kB

          Activity

            People

            Assignee:
            akolarkunnu Abdul Kolarkunnu
            Reporter:
            akolarkunnu Abdul Kolarkunnu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: