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

Fix random failure on ITIntWidgetTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Layouts & Widgets

      Description

      See http://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-platform-forms-layout-demo-7.10-webdriver/org.nuxeo.ecm.platform$nuxeo-platform-forms-layout-demo-webdriver-tests/24/testReport/junit/org.nuxeo.ftest.formsLayoutDemo/ITIntWidgetTest%28layoutDemo%29/testWidget/

      21:01:32,229 INFO  [AbstractTest] Starting test 'org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest#testWidget'
      21:01:36,199 ERROR [AbstractTest] Test 'org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest#testWidget' failed
      org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM
      Command duration or timeout: 48 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
      System info: host: 'ip-172-30-2-246', ip: '172.30.2.246', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-68-generic', java.version: '1.8.0_60'
      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: fd741631-413d-49b9-bdf0-6af20a4d1ede
      	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.ftest.formsLayoutDemo.AbstractWidgetPageTest.doSubmitDemo(AbstractWidgetPageTest.java:102)
      	at org.nuxeo.ftest.formsLayoutDemo.AbstractWidgetPageTest.submitDemo(AbstractWidgetPageTest.java:97)
      	at org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest.testWidget(ITIntWidgetTest.java:45)
      	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.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	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: 'ff23eac', time: '2013-12-16 16:11:15'
      System info: host: 'ip-172-30-2-246', ip: '172.30.2.246', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-68-generic', java.version: '1.8.0_60'
      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/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7197)
      	at <anonymous class&gt;.fxdriver.preconditions.visible(file:///tmp/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8177)
      	at <anonymous class&gt;.DelayedCommand.prototype.checkPreconditions_(file:///tmp/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10814)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///tmp/anonymous7607277947386168084webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      21:01:36,204 INFO  [AbstractTest] Created screenshot file named '/opt/jenkins/workspace/addons_FT_nuxeo-platform-forms-layout-demo-7.10-webdriver/ftest/webdriver/target/screenshot-lastpage-org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest-testWidget6786272476003853094.png'
      21:01:36,204 INFO  [AbstractTest] Created page source file named '/opt/jenkins/workspace/addons_FT_nuxeo-platform-forms-layout-demo-7.10-webdriver/ftest/webdriver/target/screenshot-lastpage-org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest-testWidget4938813374409124442.html'
      21:01:36,204 INFO  [AbstractTest] Finished test 'org.nuxeo.ftest.formsLayoutDemo.ITIntWidgetTest#testWidget'
      

      also visible on http://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-platform-forms-layout-demo-6.0-webdriver/361/

      note that similar random failures have been fixed with NXP-16465 (not backported yet)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: