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

Fix ITSimpleDiff random failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: Tests

      Description

      org.openqa.selenium.NoSuchElementException: Couldn't find element 'By.xpath: //div[contains(.,'1382909703545')]' after timeout
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.35.4-rscloud', java.version: '1.7.0_25'
      Driver info: driver.version: unknown
      	at org.nuxeo.functionaltests.AbstractTest.findElementWithTimeout(AbstractTest.java:700)
      	at org.nuxeo.functionaltests.AbstractTest.findElementWithTimeout(AbstractTest.java:662)
      	at org.nuxeo.functionaltests.AbstractTest.findElementWithTimeout(AbstractTest.java:715)
      	at org.nuxeo.functionaltests.ITSimpleDiff.testDiffDescription(ITSimpleDiff.java:81)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:101)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
      	at com.sun.proxy.$Proxy0.invoke(Unknown Source)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
      Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//div[contains(.,'1382909703545')]"}
      Command duration or timeout: 8 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.35.4-rscloud', java.version: '1.7.0_25'
      Session ID: c23c910a-ab7d-4192-815f-6697679ea7ae
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=LINUX, databaseEnabled=true, cssSelectorsEnabled=true, javascriptEnabled=true, acceptSslCerts=true, handlesAlerts=true, browserName=firefox, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=22.0}]
      	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:191)
      	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.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
      	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:404)
      	at org.openqa.selenium.By$ByXPath.findElement(By.java:344)
      	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
      	at org.nuxeo.functionaltests.AbstractTest.findElementWithTimeout(AbstractTest.java:684)
      	... 34 more
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Unable to locate element: {"method":"xpath","selector":"//div[contains(.,'1382909703545')]"}
      Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.35.4-rscloud', java.version: '1.7.0_25'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous5282418584777453599webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8879)
      	at <anonymous class&gt;.FirefoxDriver.prototype.findElement(file:///tmp/anonymous5282418584777453599webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8888)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous5282418584777453599webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10816)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous5282418584777453599webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10821)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///tmp/anonymous5282418584777453599webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10763)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.