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

Fix random ITRichFileUploadTest failure on mysql (6.0)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF02
    • Fix Version/s: 6.0-HF04, 7.2
    • Component/s: Tests

      Description

      http://qa.nuxeo.org/jenkins/job/FT-nuxeo-6.0-webdriver-cap-tomcat-multiosdb/Slave=MULTIDB_WINDOWS,dbprofile=mssql,jdk=openjdk-7-jdk/32/testReport/junit/org.nuxeo.ftest.cap/ITRichfileUploadTest/testRichFileUpload/

      a.document.getElementsByTagName(...)[0] is undefined
      Command duration or timeout: 13 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}]
      
      Stacktrace
      
      org.openqa.selenium.WebDriverException: a.document.getElementsByTagName(...)[0] is undefined
      Command duration or timeout: 13 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      	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.RemoteWebDriver.execute(RemoteWebDriver.java:569)
      	at org.openqa.selenium.remote.RemoteWebDriver$RemoteAlert.accept(RemoteWebDriver.java:863)
      	at org.nuxeo.ftest.cap.ITRichfileUploadTest.testRichFileUpload(ITRichfileUploadTest.java:170)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: a.document.getElementsByTagName(...)[0] is undefined
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.modals.findButton_(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8412)
      	at <anonymous class&gt;.fxdriver.modals.acceptAlert(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8383)
      	at <anonymous class&gt;.FirefoxDriver.prototype.acceptAlert/<(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:9085)
      	at <anonymous class&gt;.fxdriver.modals.isModalPresent/<(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8376)
      	at <anonymous class&gt;.fxdriver.Timer.prototype.runWhenTrue/g(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:402)
      	at <anonymous class&gt;.fxdriver.Timer.prototype.runWhenTrue(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:404)
      	at <anonymous class&gt;.fxdriver.modals.isModalPresent(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8377)
      	at <anonymous class&gt;.FirefoxDriver.prototype.acceptAlert(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:9087)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///C:/Users/nuxeo/AppData/Local/Temp/anonymous6147252377148255907webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      
      Standard Output
      
      23:26:07,410 WARN  [AbstractTest] Webdriver logs saved in C:\Jenkins\workspace\FT-nuxeo-6.0-webdriver-cap-tomcat-multiosdb\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\openjdk-7-jdk\nuxeo-distribution\nuxeo-distribution-cap-webdriver-tests\target\webdriver1181551608129091918.log
      23:26:39,105 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITRichfileUploadTest#testRichFileUpload' failed
      org.junit.internal.runners.model.MultipleFailureException: There were 2 errors:
        org.openqa.selenium.WebDriverException(a.document.getElementsByTagName(...)[0] is undefined
      Command duration or timeout: 13 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}])
        org.openqa.selenium.UnhandledAlertException(Modal dialog present: Delete file 'dummy3660556230607021035test'?
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}])
      	at org.junit.runners.model.MultipleFailureException.assertEmpty(MultipleFailureException.java:62)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:39)
      	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)
      
      

      http://qa.nuxeo.org/jenkins/job/FT-nuxeo-6.0-webdriver-cap-tomcat-multiosdb/Slave=MULTIDB_WINDOWS,dbprofile=mssql,jdk=openjdk-7-jdk/32/testReport/junit/org.nuxeo.ftest.cap/ITRichfileUploadTest/testRichFileUpload_2/

      Error Message
      
      Modal dialog present: Delete file 'dummy3660556230607021035test'?
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}]
      
      Stacktrace
      
      org.openqa.selenium.UnhandledAlertException: Modal dialog present: Delete file 'dummy3660556230607021035test'?
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'tweedledee', ip: '10.180.212.206', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
      Session ID: 1abcaebb-a45f-4d85-ad51-63b9de255111
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=XP, 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}]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.createUnhandledAlertException(ErrorHandler.java:174)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:141)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:569)
      	at org.openqa.selenium.firefox.FirefoxDriver.getScreenshotAs(FirefoxDriver.java:327)
      	at org.nuxeo.functionaltests.ScreenshotTaker.takeScreenshot(ScreenshotTaker.java:65)
      	at org.nuxeo.functionaltests.LogTestWatchman.runBeforeAfters(LogTestWatchman.java:172)
      	at org.nuxeo.functionaltests.AbstractTest.runBeforeAfters(AbstractTest.java:197)
      	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:601)
      	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.RunAfters.evaluate(RunAfters.java:33)
      	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:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: