Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- T E S T S
- -------------------------------------------------------
- Running org.xwiki.glossary.test.ui.GlossaryTest
- 23:05:13.624 [main] INFO o.x.test.integration.XWikiExecutor - Stopping any potentially running XWiki server at [http://localhost:8080/xwiki/bin/get/Main/]
- 23:05:13.649 [Thread-9] INFO o.x.t.i.XWikiLogOutputStream - Lock file [/var/tmp/xwiki-8080.lck] is missing. Aborting stop.
- 23:05:13.696 [main] INFO o.x.test.integration.XWikiExecutor - Starting XWiki server at [http://localhost:8080/xwiki/bin/get/Main/], using stop port [8079] and RMI port [9010]
- 23:05:13.697 [main] INFO o.x.test.integration.XWikiExecutor - Checking that XWiki is up and running...
- 23:05:13.715 [Thread-12] INFO o.x.t.i.XWikiLogOutputStream - Starting Jetty on port 8080, please wait...
- 23:05:13.738 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
- 23:05:14.106 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.103:INFO::main: Logging initialized @365ms
- 23:05:14.404 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.404:INFO:oejs.Server:main: jetty-9.2.13.v20150730
- 23:05:14.427 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.426:INFO:oejs.AbstractNCSARequestLog:main: Opened /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/xwiki/data/logs/2017_10_02.request.log
- 23:05:14.430 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.429:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/xwiki/jetty/contexts/] at interval 0
- 23:05:14.637 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.634:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@5d624da6{/,file:/home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/xwiki/webapps/root/,AVAILABLE}{/root}
- 23:05:20.256 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:20.255:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@5b275dab{/xwiki,file:/home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/xwiki/webapps/xwiki/,AVAILABLE}{/xwiki}
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:20.277:WARN:oejuc.AbstractLifeCycle:main: FAILED ServerConnector@1a7163e3{HTTP/1.1}{0.0.0.0:8080}: java.net.BindException: Address already in use
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.net.BindException: Address already in use
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind0(Native Method)
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:433)
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:425)
- 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.Server.doStart(Server.java:366)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.security.AccessController.doPrivileged(Native Method)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.lang.reflect.Method.invoke(Method.java:498)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.start(Main.java:817)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.main(Main.java:112)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:20.278:WARN:oejuc.AbstractLifeCycle:main: FAILED org.eclipse.jetty.server.Server@44da7eb3: java.net.BindException: Address already in use
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.net.BindException: Address already in use
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind0(Native Method)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:433)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:425)
- 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.Server.doStart(Server.java:366)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.security.AccessController.doPrivileged(Native Method)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.lang.reflect.Method.invoke(Method.java:498)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.start(Main.java:817)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.main(Main.java:112)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.lang.reflect.InvocationTargetException
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.lang.reflect.Method.invoke(Method.java:498)
- 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.start(Main.java:817)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.start.Main.main(Main.java:112)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - Caused by: java.net.BindException: Address already in use
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind0(Native Method)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:433)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.Net.bind(Net.java:425)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
- 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.287 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.server.Server.doStart(Server.java:366)
- 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
- 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at java.security.AccessController.doPrivileged(Native Method)
- 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
- 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - ... 7 more
- 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -
- 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - Usage: java -jar start.jar [options] [properties] [configs]
- 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java -jar start.jar --help # for more information
- 23:05:33.441 [main] INFO o.x.test.integration.XWikiExecutor - Server is answering to [http://localhost:8080/xwiki/bin/get/Main/]... cool
- 23:05:45.154 [main] INFO org.xwiki.test.ui.TestDebugger - GlossaryTest-testGlossary started
- 23:05:46.646 [main] INFO org.xwiki.test.ui.TestDebugger - GlossaryTest-testGlossary failed
- 23:05:46.715 [main] INFO org.xwiki.test.ui.TestDebugger - Screenshot for failing test [GlossaryTest-testGlossary] saved at [/home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/screenshots/GlossaryTest-testGlossary.png].
- 23:05:46.722 [main] INFO org.xwiki.test.ui.TestDebugger - Current page URL is [http://localhost:8080/xwiki/bin/view/NonExistentSpace/NonExistentPage?xpage=plain]
- 23:05:46.728 [main] INFO org.xwiki.test.ui.TestDebugger - Current page source is [<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body><canvas id="fxdriver-screenshot-canvas" style="display: none;" width="1366" height="635"></canvas></html>]
- 23:05:46.739 [main] INFO org.xwiki.test.ui.TestDebugger - GlossaryTest-testNewGlossaryAndInNestedSpace started
- 23:05:47.190 [main] INFO org.xwiki.test.ui.TestDebugger - GlossaryTest-testNewGlossaryAndInNestedSpace failed
- 23:05:47.249 [main] INFO org.xwiki.test.ui.TestDebugger - Screenshot for failing test [GlossaryTest-testNewGlossaryAndInNestedSpace] saved at [/home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/screenshots/GlossaryTest-testNewGlossaryAndInNestedSpace.png].
- 23:05:47.255 [main] INFO org.xwiki.test.ui.TestDebugger - Current page URL is [http://localhost:8080/xwiki/bin/view/NonExistentSpace/NonExistentPage?xpage=plain]
- 23:05:47.263 [main] INFO org.xwiki.test.ui.TestDebugger - Current page source is [<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body><canvas id="fxdriver-screenshot-canvas" style="display: none;" width="1366" height="635"></canvas></html>]
- 23:05:47.374 [Thread-15] INFO o.x.t.i.XWikiLogOutputStream - Lock file [/var/tmp/xwiki-8080.lck] is missing. Aborting stop.
- Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 44.231 sec <<< FAILURE! - in org.xwiki.glossary.test.ui.GlossaryTest
- testGlossary(org.xwiki.glossary.test.ui.GlossaryTest) Time elapsed: 1.584 sec <<< FAILURE!
- java.lang.AssertionError: Unexpected code [404], was expecting one of [[204]]
- at org.junit.Assert.fail(Assert.java:88)
- at org.xwiki.test.ui.TestUtils.assertStatuses(TestUtils.java:1528)
- at org.xwiki.test.ui.TestUtils.assertStatusCodes(TestUtils.java:1539)
- at org.xwiki.test.ui.TestUtils$RestTestUtils.delete(TestUtils.java:2066)
- at org.xwiki.test.ui.TestUtils$RestTestUtils.deletePage(TestUtils.java:2071)
- at org.xwiki.glossary.test.ui.GlossaryTest.testGlossary(GlossaryTest.java:57)
- 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:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:56)
- at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
- at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
- at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
- at org.junit.rules.RunRules.evaluate(RunRules.java:20)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
- at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
- at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- 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:363)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
- at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
- testNewGlossaryAndInNestedSpace(org.xwiki.glossary.test.ui.GlossaryTest) Time elapsed: 0.524 sec <<< FAILURE!
- java.lang.AssertionError: Unexpected code [404], was expecting one of [[204]]
- at org.junit.Assert.fail(Assert.java:88)
- at org.xwiki.test.ui.TestUtils.assertStatuses(TestUtils.java:1528)
- at org.xwiki.test.ui.TestUtils.assertStatusCodes(TestUtils.java:1539)
- at org.xwiki.test.ui.TestUtils$RestTestUtils.delete(TestUtils.java:2066)
- at org.xwiki.glossary.test.ui.GlossaryTest.testNewGlossaryAndInNestedSpace(GlossaryTest.java:101)
- 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:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:56)
- at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
- at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
- at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
- at org.junit.rules.RunRules.evaluate(RunRules.java:20)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
- at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
- at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- 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:363)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
- at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
- org.xwiki.glossary.test.ui.GlossaryTest Time elapsed: 0.69 sec <<< ERROR!
- java.lang.RuntimeException: Process failed to close properly after [300000] seconds, process ended [true]. Exit code [254], message [Process exited with an error: 254 (Exit value: 254)]. Failing test.
- at org.xwiki.test.integration.XWikiExecutor.waitForProcessToFinish(XWikiExecutor.java:390)
- at org.xwiki.test.integration.XWikiExecutor.stop(XWikiExecutor.java:354)
- at org.xwiki.test.ui.PersistentTestContext.shutdown(PersistentTestContext.java:104)
- at org.xwiki.test.ui.AbstractTest.shutdown(AbstractTest.java:118)
- 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:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
- at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
- Results :
- Failed tests:
- GlossaryTest.testGlossary:57 Unexpected code [404], was expecting one of [[204]]
- GlossaryTest.testNewGlossaryAndInNestedSpace:101 Unexpected code [404], was expecting one of [[204]]
- Tests in error:
- GlossaryTest>AbstractTest.shutdown:118 » Runtime Process failed to close prope...
- Tests run: 3, Failures: 2, Errors: 1, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] Glossary - Parent POM .............................. SUCCESS [ 10.490 s]
- [INFO] Glossary - UI ...................................... SUCCESS [ 22.007 s]
- [INFO] application-glossary-test .......................... SUCCESS [ 0.750 s]
- [INFO] application-glossary-test-pageobjects .............. SUCCESS [ 8.408 s]
- [INFO] Glossary - Tests - Functional Tests ................ FAILURE [01:47 min]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 02:33 min
- [INFO] Finished at: 2017-10-02T23:05:47+05:30
- [INFO] Final Memory: 101M/473M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project application-glossary-test-tests: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project application-glossary-test-tests: There are test failures.
- Please refer to /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/surefire-reports for the individual test results.
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
- 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:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
- Please refer to /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/surefire-reports for the individual test results.
- at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
- at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:318)
- at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:880)
- at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:739)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
- ... 20 more
- [ERROR]
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :application-glossary-test-tests
Advertisement
Add Comment
Please, Sign In to add comment