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

Fix random alert detection issue under Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.9.6-SNAPSHOT
    • Fix Version/s: 8.10
    • Component/s: Tests

      Description

      See https://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-tests-dm-tomcat-postgresql/lastCompletedBuild/testReport/junit/org.nuxeo.functionaltests/ITArchivedVersionsTest/testArchivedVersions/

      Message d'erreur
      
      CURRENT_VERSION_SELECTION_DELETE action should be enabled because there is at least one version selected.
      Pile d'exécution
      
      java.lang.AssertionError: CURRENT_VERSION_SELECTION_DELETE action should be enabled because there is at least one version selected.
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanExecuteActionOnSelectedVersions(ArchivedVersionsSubPage.java:141)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanRemoveSelectedVersions(ArchivedVersionsSubPage.java:116)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testDeleteVersions(ITArchivedVersionsTest.java:158)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testArchivedVersions(ITArchivedVersionsTest.java:47)
      Sortie standard
      
      03:35:49,065 ERROR [AbstractTest] Test 'org.nuxeo.functionaltests.ITArchivedVersionsTest#testArchivedVersions' failed
      java.lang.AssertionError: CURRENT_VERSION_SELECTION_DELETE action should be enabled because there is at least one version selected.
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanExecuteActionOnSelectedVersions(ArchivedVersionsSubPage.java:141)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanRemoveSelectedVersions(ArchivedVersionsSubPage.java:116)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testDeleteVersions(ITArchivedVersionsTest.java:158)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testArchivedVersions(ITArchivedVersionsTest.java:47)
      	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: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:96)
      	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.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:24)
      	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.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      	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)
      Sortie d'erreur standard
      
      org.openqa.selenium.NotFoundException: Element not enabled after timeout: [[FirefoxDriver: firefox on LINUX (391d96a0-f6f2-4e9c-91b6-f833ee92e439)] -> xpath: //span[@id="CURRENT_VERSION_SELECTION_DELETE"]/input]
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'joyeux', ip: '10.213.0.35', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-32-generic', java.version: '1.7.0_09'
      Driver info: driver.version: unknown
      	at org.nuxeo.functionaltests.Locator.waitUntilEnabled(Locator.java:403)
      	at org.nuxeo.functionaltests.Locator$1.apply(Locator.java:101)
      	at org.nuxeo.functionaltests.Locator$1.apply(Locator.java:93)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
      	at org.nuxeo.functionaltests.Locator.findElementAndWaitUntilEnabled(Locator.java:111)
      	at org.nuxeo.functionaltests.pages.AbstractPage.findElementAndWaitUntilEnabled(AbstractPage.java:232)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanExecuteActionOnSelectedVersions(ArchivedVersionsSubPage.java:130)
      	at org.nuxeo.functionaltests.pages.tabs.ArchivedVersionsSubPage.checkCanRemoveSelectedVersions(ArchivedVersionsSubPage.java:116)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testDeleteVersions(ITArchivedVersionsTest.java:158)
      	at org.nuxeo.functionaltests.ITArchivedVersionsTest.testArchivedVersions(ITArchivedVersionsTest.java:47)
      	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: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:96)
      	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.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:24)
      	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.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      	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: