Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13651

Fix random webdriver error on ITSafeEditTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF29, 5.8.0-HF06, 5.9.2-SNAPSHOT
    • Fix Version/s: 5.8.0-HF07, 5.9.2
    • Component/s: Tests

      Description

      Seen in

      Stacktrace is:

      03:48:51 03:48:51,822 ERROR [AbstractTest] Test 'org.nuxeo.functionaltests.ITSafeEditTest#testAutoSaveOnChangeAndRestore' failed
      03:48:51 org.openqa.selenium.TimeoutException: Timed out waiting for page load.
      03:48:51 Command duration or timeout: 1800.02 seconds
      03:48:51 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      03:48:51 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      03:48:51 Session ID: 3ab0364a-ab41-4414-a316-8c77a8cdb527
      03:48:51 Driver info: org.openqa.selenium.firefox.FirefoxDriver
      03:48:51 Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]
      03:48:51 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      03:48:51 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      03:48:51 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      03:48:51 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      03:48:51 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      03:48:51 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      03:48:51 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      03:48:51 	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      03:48:51 	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      03:48:51 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      03:48:51 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      03:48:51 	at java.lang.reflect.Method.invoke(Method.java:606)
      03:48:51 	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:41)
      03:48:51 	at com.sun.proxy.$Proxy15.click(Unknown Source)
      03:48:51 	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UsersTabSubPage.searchUser(UsersTabSubPage.java:57)
      03:48:51 	at org.nuxeo.functionaltests.ITSafeEditTest.restoreSate(ITSafeEditTest.java:185)
      03:48:51 	at org.nuxeo.functionaltests.ITSafeEditTest.testAutoSaveOnChangeAndRestore(ITSafeEditTest.java:320)
      03:48:51 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      03:48:51 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      03:48:51 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      03:48:51 	at java.lang.reflect.Method.invoke(Method.java:606)
      03:48:51 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      03:48:51 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      03:48:51 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      03:48:51 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      03:48:51 	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:101)
      03:48:51 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      03:48:51 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      03:48:51 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      03:48:51 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      03:48:51 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      03:48:51 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      03:48:51 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      03:48:51 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      03:48:51 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      03:48:51 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      03:48:51 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      03:48:51 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      03:48:51 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      03:48:51 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      03:48:51 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      03:48:51 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      03:48:51 Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Timed out waiting for page load.
      03:48:51 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      03:48:51 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      03:48:51 Driver info: driver.version: unknown
      03:48:51 	at <anonymous class&gt;.Utils.installClickListener/e<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7490)
      03:48:51 	at <anonymous class&gt;.WebLoadingListener/e(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3333)
      03:48:51 	at <anonymous class&gt;.WebLoadingListener/<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3340)
      03:48:51 	at <anonymous class&gt;.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:396)
      04:18:53 04:18:53,922 ERROR [AbstractTest] Test 'org.nuxeo.functionaltests.ITSafeEditTest#testSafeEditOnSelect2' failed
      04:18:53 org.openqa.selenium.TimeoutException: Timed out waiting for page load.
      04:18:53 Command duration or timeout: 1800.02 seconds
      04:18:53 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      04:18:53 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      04:18:53 Session ID: 3ab0364a-ab41-4414-a316-8c77a8cdb527
      04:18:53 Driver info: org.openqa.selenium.firefox.FirefoxDriver
      04:18:53 Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]
      04:18:53 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      04:18:53 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      04:18:53 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      04:18:53 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      04:18:53 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      04:18:53 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      04:18:53 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      04:18:53 	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      04:18:53 	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      04:18:53 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      04:18:53 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      04:18:53 	at java.lang.reflect.Method.invoke(Method.java:606)
      04:18:53 	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:41)
      04:18:53 	at com.sun.proxy.$Proxy15.click(Unknown Source)
      04:18:53 	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UsersTabSubPage.searchUser(UsersTabSubPage.java:57)
      04:18:53 	at org.nuxeo.functionaltests.ITSafeEditTest.prepare(ITSafeEditTest.java:130)
      04:18:53 	at org.nuxeo.functionaltests.ITSafeEditTest.testSafeEditOnSelect2(ITSafeEditTest.java:337)
      04:18:53 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      04:18:53 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      04:18:53 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      04:18:53 	at java.lang.reflect.Method.invoke(Method.java:606)
      04:18:53 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      04:18:53 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      04:18:53 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      04:18:53 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      04:18:53 	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:101)
      04:18:53 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      04:18:53 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      04:18:53 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      04:18:53 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      04:18:53 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      04:18:53 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      04:18:53 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      04:18:53 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      04:18:53 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      04:18:53 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      04:18:53 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      04:18:53 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      04:18:53 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      04:18:53 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      04:18:53 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      04:18:53 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      04:18:53 Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Timed out waiting for page load.
      04:18:53 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      04:18:53 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      04:18:53 Driver info: driver.version: unknown
      04:18:53 	at <anonymous class&gt;.Utils.installClickListener/e<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7490)
      04:18:53 	at <anonymous class&gt;.WebLoadingListener/e(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3333)
      04:18:53 	at <anonymous class&gt;.WebLoadingListener/<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3340)
      04:18:53 	at <anonymous class&gt;.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:396)
      04:18:54 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3,624.718 sec <<< FAILURE! - in org.nuxeo.functionaltests.ITSafeEditTest
      04:18:54 testAutoSaveOnChangeAndRestore(org.nuxeo.functionaltests.ITSafeEditTest)  Time elapsed: 1,819.372 sec  <<< ERROR!
      04:18:54 org.openqa.selenium.TimeoutException: Timed out waiting for page load.
      04:18:54 Command duration or timeout: 1800.02 seconds
      04:18:54 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      04:18:54 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      04:18:54 Session ID: 3ab0364a-ab41-4414-a316-8c77a8cdb527
      04:18:54 Driver info: org.openqa.selenium.firefox.FirefoxDriver
      04:18:54 Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]
      04:18:54 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      04:18:54 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      04:18:54 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      04:18:54 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      04:18:54 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      04:18:54 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      04:18:54 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      04:18:54 	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      04:18:54 	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      04:18:54 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      04:18:54 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      04:18:54 	at java.lang.reflect.Method.invoke(Method.java:606)
      04:18:54 	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:41)
      04:18:54 	at com.sun.proxy.$Proxy15.click(Unknown Source)
      04:18:54 	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UsersTabSubPage.searchUser(UsersTabSubPage.java:57)
      04:18:54 	at org.nuxeo.functionaltests.ITSafeEditTest.restoreSate(ITSafeEditTest.java:185)
      04:18:54 	at org.nuxeo.functionaltests.ITSafeEditTest.testAutoSaveOnChangeAndRestore(ITSafeEditTest.java:320)
      04:18:54 Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Timed out waiting for page load.
      04:18:54 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      04:18:54 System info: host: 'gimli', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-39-generic', java.version: '1.7.0_25'
      04:18:54 Driver info: driver.version: unknown
      04:18:54 	at <anonymous class&gt;.Utils.installClickListener/e<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7490)
      04:18:54 	at <anonymous class&gt;.WebLoadingListener/e(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3333)
      04:18:54 	at <anonymous class&gt;.WebLoadingListener/<(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:3340)
      04:18:54 	at <anonymous class&gt;.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous2712370633277085724webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:396)
      

      Failures seems since FF26 + selenium 2.39 upgrade

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified