-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Component/s: Seam / JSF UI, Tests
-
Tags:
-
Upgrade notes:
Since NXP-15919, we have:
16:31:10 Running org.nuxeo.ftest.cap.ITLogsViewerTest 16:31:15 15:31:15,143 ERROR [AbstractTest] TypeError: RichFaces.ui is undefined [http://localhost:8080/nuxeo/nxadmin/default/default-domain@view_admin?tabIds=NUXEO_ADMIN%3AMonitoring%3ALogsViewer:0] 16:31:15 15:31:15,145 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITLogsViewerTest#testLogsViewerTab' failed 16:31:15 java.lang.AssertionError: Javascript errors detected 16:31:15 at org.junit.Assert.fail(Assert.java:91) 16:31:15 at org.nuxeo.functionaltests.AbstractTest.checkJavascriptError(AbstractTest.java:416) 16:31:15 at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) 16:31:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 16:31:15 at java.lang.reflect.Method.invoke(Method.java:606) 16:31:15 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) 16:31:15 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) 16:31:15 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) 16:31:15 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) 16:31:15 at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:96) 16:31:15 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) 16:31:15 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) 16:31:15 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:31:15 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:31:15 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:31:15 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:31:15 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:31:15 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 16:31:15 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) 16:31:15 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:31:15 at org.junit.runners.Suite.runChild(Suite.java:128) 16:31:15 at org.junit.runners.Suite.runChild(Suite.java:24) 16:31:15 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:31:15 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:31:15 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:31:15 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:31:15 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:31:15 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:31:15 at org.junit.runner.JUnitCore.run(JUnitCore.java:157) 16:31:15 at org.junit.runner.JUnitCore.run(JUnitCore.java:136) 16:31:15 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) 16:31:15 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) 16:31:15 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) 16:31:15 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) 16:31:15 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) 16:31:15 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) 16:31:15 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 16:31:16 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.119 sec <<< FAILURE! - in org.nuxeo.ftest.cap.ITLogsViewerTest 16:31:16 testLogsViewerTab(org.nuxeo.ftest.cap.ITLogsViewerTest) Time elapsed: 4.525 sec <<< FAILURE! 16:31:16 java.lang.AssertionError: Javascript errors detected 16:31:16 at org.junit.Assert.fail(Assert.java:91) 16:31:16 at org.nuxeo.functionaltests.AbstractTest.checkJavascriptError(AbstractTest.java:416) 16:31:16 at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) 16:31:16 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 16:31:16 at java.lang.reflect.Method.invoke(Method.java:606) 16:31:16 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) 16:31:16 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) 16:31:16 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) 16:31:16 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) 16:31:16 at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:96) 16:31:16 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) 16:31:16 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) 16:31:16 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:31:16 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:31:16 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:31:16 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:31:16 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:31:16 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 16:31:16 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) 16:31:16 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:31:16 at org.junit.runners.Suite.runChild(Suite.java:128) 16:31:16 at org.junit.runners.Suite.runChild(Suite.java:24) 16:31:16 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:31:16 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:31:16 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:31:16 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:31:16 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:31:16 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:31:16 at org.junit.runner.JUnitCore.run(JUnitCore.java:157) 16:31:16 at org.junit.runner.JUnitCore.run(JUnitCore.java:136) 16:31:16 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) 16:31:16 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) 16:31:16 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) 16:31:16 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) 16:31:16 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) 16:31:16 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) 16:31:16 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 16:31:16 16:31:16 Running org.nuxeo.ftest.cap.ITRichfileUploadTest 16:31:38 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.036 sec - in org.nuxeo.ftest.cap.ITRichfileUploadTest 16:31:38 Running org.nuxeo.ftest.cap.ITDocumentRelationTest 16:32:06 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.236 sec - in org.nuxeo.ftest.cap.ITDocumentRelationTest 16:32:06 Running org.nuxeo.ftest.cap.ITVocabularyTest 16:32:36 15:32:36,415 ERROR [AbstractTest] TypeError: RichFaces.ui.Tree is not a constructor [http://localhost:8080/nuxeo/nxadmin/default/default-domain@view_admin?tabIds=NUXEO_ADMIN%3ADirectoriesManager&conversationId=0NXMAIN:0] 16:32:36 15:32:36,415 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITVocabularyTest#testEntryNotFountAndRemove' failed 16:32:36 java.lang.AssertionError: Javascript errors detected 16:32:36 at org.junit.Assert.fail(Assert.java:91) 16:32:36 at org.nuxeo.functionaltests.AbstractTest.checkJavascriptError(AbstractTest.java:416) 16:32:36 at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) 16:32:36 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 16:32:36 at java.lang.reflect.Method.invoke(Method.java:606) 16:32:36 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) 16:32:36 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) 16:32:36 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) 16:32:36 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) 16:32:36 at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:96) 16:32:36 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) 16:32:36 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) 16:32:36 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:32:36 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:32:36 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:32:36 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:32:36 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:32:36 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 16:32:36 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) 16:32:36 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:32:36 at org.junit.runners.Suite.runChild(Suite.java:128) 16:32:36 at org.junit.runners.Suite.runChild(Suite.java:24) 16:32:36 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:32:36 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:32:36 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:32:36 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:32:36 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:32:36 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:32:36 at org.junit.runner.JUnitCore.run(JUnitCore.java:157) 16:32:36 at org.junit.runner.JUnitCore.run(JUnitCore.java:136) 16:32:36 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) 16:32:36 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) 16:32:36 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) 16:32:36 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) 16:32:36 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) 16:32:36 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) 16:32:36 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 16:32:38 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.038 sec <<< FAILURE! - in org.nuxeo.ftest.cap.ITVocabularyTest 16:32:38 testEntryNotFountAndRemove(org.nuxeo.ftest.cap.ITVocabularyTest) Time elapsed: 29.381 sec <<< FAILURE! 16:32:38 java.lang.AssertionError: Javascript errors detected 16:32:38 at org.junit.Assert.fail(Assert.java:91) 16:32:38 at org.nuxeo.functionaltests.AbstractTest.checkJavascriptError(AbstractTest.java:416) 16:32:38 at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) 16:32:38 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 16:32:38 at java.lang.reflect.Method.invoke(Method.java:606) 16:32:38 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) 16:32:38 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) 16:32:38 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) 16:32:38 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) 16:32:38 at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:96) 16:32:38 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) 16:32:38 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) 16:32:38 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:32:38 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:32:38 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:32:38 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:32:38 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:32:38 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) 16:32:38 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) 16:32:38 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:32:38 at org.junit.runners.Suite.runChild(Suite.java:128) 16:32:38 at org.junit.runners.Suite.runChild(Suite.java:24) 16:32:38 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 16:32:38 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 16:32:38 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) 16:32:38 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) 16:32:38 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) 16:32:38 at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 16:32:38 at org.junit.runner.JUnitCore.run(JUnitCore.java:157) 16:32:38 at org.junit.runner.JUnitCore.run(JUnitCore.java:136) 16:32:38 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) 16:32:38 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) 16:32:38 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) 16:32:38 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) 16:32:38 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) 16:32:38 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) 16:32:38 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 16:32:38