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

ITSearchTabTest#testSearch randomly failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Tests

      Description

      This test randomly fails with the followng output:

      Element is no longer attached to the DOM
      Command duration or timeout: 7 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'f6ed3b8f8d57', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.8.0_40'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: cf640106-337c-4dc8-9348-8ad5997767c7
      
      Stacktrace
      
      org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM
      Command duration or timeout: 7 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'f6ed3b8f8d57', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.8.0_40'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: cf640106-337c-4dc8-9348-8ad5997767c7
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      	at org.nuxeo.functionaltests.forms.Select2WidgetElement.selectValue(Select2WidgetElement.java:213)
      	at org.nuxeo.functionaltests.forms.Select2WidgetElement.selectValue(Select2WidgetElement.java:183)
      	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UserCreationFormPage.createUser(UserCreationFormPage.java:113)
      	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UserCreationFormPage.createUser(UserCreationFormPage.java:77)
      	at org.nuxeo.ftest.cap.ITSearchTabTest.setup(ITSearchTabTest.java:76)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is no longer attached to the DOM
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'f6ed3b8f8d57', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.8.0_40'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.cache.getElementAt(resource://fxdriver/modules/web_element_cache.js:7587)
      	at <anonymous class&gt;.Utils.getElementAt(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7197)
      	at <anonymous class&gt;.fxdriver.preconditions.visible(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8177)
      	at <anonymous class&gt;.DelayedCommand.prototype.checkPreconditions_(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10814)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      
      Standard Output
      
      12:38:30,226 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITSearchTabTest#testSearch' failed
      org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM
      Command duration or timeout: 7 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'f6ed3b8f8d57', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.8.0_40'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: cf640106-337c-4dc8-9348-8ad5997767c7
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      	at org.nuxeo.functionaltests.forms.Select2WidgetElement.selectValue(Select2WidgetElement.java:213)
      	at org.nuxeo.functionaltests.forms.Select2WidgetElement.selectValue(Select2WidgetElement.java:183)
      	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UserCreationFormPage.createUser(UserCreationFormPage.java:113)
      	at org.nuxeo.functionaltests.pages.admincenter.usermanagement.UserCreationFormPage.createUser(UserCreationFormPage.java:77)
      	at org.nuxeo.ftest.cap.ITSearchTabTest.setup(ITSearchTabTest.java:76)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:94)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runners.Suite.runChild(Suite.java:127)
      	at org.junit.runners.Suite.runChild(Suite.java:26)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is no longer attached to the DOM
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'f6ed3b8f8d57', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.8.0_40'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.cache.getElementAt(resource://fxdriver/modules/web_element_cache.js:7587)
      	at <anonymous class&gt;.Utils.getElementAt(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7197)
      	at <anonymous class&gt;.fxdriver.preconditions.visible(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8177)
      	at <anonymous class&gt;.DelayedCommand.prototype.checkPreconditions_(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10814)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///tmp/anonymous7205680294882997671webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: