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

Fix random error ITModifyWorkspaceDescriptionTest.testModifyWsDescription

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7.3-SNAPSHOT
    • Fix Version/s: 8.10
    • Component/s: Seam / JSF UI

      Description

      There is a possibilty of concurrent requests on this test:

      http://qa.nuxeo.org/jenkins/view/7.x%20-%20master/job/IT-nuxeo-master-tests-cap-tomcat-mysql/117/testReport/junit/org.nuxeo.ftest.cap/ITModifyWorkspaceDescriptionTest/testModifyWsDescription/

      Cannot locate an element using By.chained({By.id: nxw_documentSubTabs_panel,By.linkText: Access rights})
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'cdcb5244bc01', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-39-generic', java.version: '1.8.0_40'
      Driver info: driver.version: RemoteWebDriver
      
      Stacktrace
      
      org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: nxw_documentSubTabs_panel,By.linkText: Access rights})
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'cdcb5244bc01', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-39-generic', java.version: '1.8.0_40'
      Driver info: driver.version: RemoteWebDriver
      	at org.openqa.selenium.support.pagefactory.ByChained.findElement(ByChained.java:53)
      	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
      	at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:59)
      	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:34)
      	at com.sun.proxy.$Proxy13.getWrappedElement(Unknown Source)
      	at org.openqa.selenium.remote.RemoteWebElement.equals(RemoteWebElement.java:279)
      	at org.nuxeo.functionaltests.pages.DocumentBasePage.clickOnLinkIfNotSelected(DocumentBasePage.java:155)
      	at org.nuxeo.functionaltests.pages.tabs.ManageTabSubPage.getAccessRightsSubTab(ManageTabSubPage.java:41)
      	at org.nuxeo.ftest.cap.ITModifyWorkspaceDescriptionTest.testModifyWsDescription(ITModifyWorkspaceDescriptionTest.java:64)
      
      Standard Output
      
      01:10:28,039 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITModifyWorkspaceDescriptionTest#testModifyWsDescription' failed
      org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: nxw_documentSubTabs_panel,By.linkText: Access rights})
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'cdcb5244bc01', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-39-generic', java.version: '1.8.0_40'
      Driver info: driver.version: RemoteWebDriver
      	at org.openqa.selenium.support.pagefactory.ByChained.findElement(ByChained.java:53)
      	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
      	at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:59)
      	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:34)
      	at com.sun.proxy.$Proxy13.getWrappedElement(Unknown Source)
      	at org.openqa.selenium.remote.RemoteWebElement.equals(RemoteWebElement.java:279)
      	at org.nuxeo.functionaltests.pages.DocumentBasePage.clickOnLinkIfNotSelected(DocumentBasePage.java:155)
      	at org.nuxeo.functionaltests.pages.tabs.ManageTabSubPage.getAccessRightsSubTab(ManageTabSubPage.java:41)
      	at org.nuxeo.ftest.cap.ITModifyWorkspaceDescriptionTest.testModifyWsDescription(ITModifyWorkspaceDescriptionTest.java:64)
      	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.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)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: