sgc_072

Logger

Oct 2nd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 26.95 KB | None | 0 0
  1. T E S T S
  2. -------------------------------------------------------
  3. Running org.xwiki.glossary.test.ui.GlossaryTest
  4. 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/]
  5. 23:05:13.649 [Thread-9] INFO  o.x.t.i.XWikiLogOutputStream - Lock file [/var/tmp/xwiki-8080.lck] is missing. Aborting stop.
  6. 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]
  7. 23:05:13.697 [main] INFO  o.x.test.integration.XWikiExecutor - Checking that XWiki is up and running...
  8. 23:05:13.715 [Thread-12] INFO  o.x.t.i.XWikiLogOutputStream - Starting Jetty on port 8080, please wait...
  9. 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
  10. 23:05:14.106 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - 2017-10-02 23:05:14.103:INFO::main: Logging initialized @365ms
  11. 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
  12. 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
  13. 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
  14. 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}
  15. 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}
  16. 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
  17. 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.net.BindException: Address already in use
  18. 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind0(Native Method)
  19. 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:433)
  20. 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:425)
  21. 23:05:20.279 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
  22. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
  23. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
  24. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
  25. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
  26. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  27. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.Server.doStart(Server.java:366)
  28. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  29. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
  30. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.security.AccessController.doPrivileged(Native Method)
  31. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
  32. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  33. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  34. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  35. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.lang.reflect.Method.invoke(Method.java:498)
  36. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
  37. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.start(Main.java:817)
  38. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.main(Main.java:112)
  39. 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
  40. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.net.BindException: Address already in use
  41. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind0(Native Method)
  42. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:433)
  43. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:425)
  44. 23:05:20.280 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
  45. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
  46. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
  47. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
  48. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
  49. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  50. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.Server.doStart(Server.java:366)
  51. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  52. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
  53. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.security.AccessController.doPrivileged(Native Method)
  54. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
  55. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  56. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  57. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  58. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.lang.reflect.Method.invoke(Method.java:498)
  59. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
  60. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.start(Main.java:817)
  61. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.main(Main.java:112)
  62. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - java.lang.reflect.InvocationTargetException
  63. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  64. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  65. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  66. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.lang.reflect.Method.invoke(Method.java:498)
  67. 23:05:20.281 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
  68. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.start(Main.java:817)
  69. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.start.Main.main(Main.java:112)
  70. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - Caused by: java.net.BindException: Address already in use
  71. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind0(Native Method)
  72. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:433)
  73. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.Net.bind(Net.java:425)
  74. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
  75. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
  76. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
  77. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
  78. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
  79. 23:05:20.282 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  80. 23:05:20.287 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.server.Server.doStart(Server.java:366)
  81. 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
  82. 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
  83. 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at java.security.AccessController.doPrivileged(Native Method)
  84. 23:05:20.288 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
  85. 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -   ... 7 more
  86. 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -
  87. 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream - Usage: java -jar start.jar [options] [properties] [configs]
  88. 23:05:20.289 [Thread-13] ERROR o.x.t.i.XWikiLogOutputStream -        java -jar start.jar --help  # for more information
  89. 23:05:33.441 [main] INFO  o.x.test.integration.XWikiExecutor - Server is answering to [http://localhost:8080/xwiki/bin/get/Main/]... cool
  90. 23:05:45.154 [main] INFO  org.xwiki.test.ui.TestDebugger - GlossaryTest-testGlossary started
  91. 23:05:46.646 [main] INFO  org.xwiki.test.ui.TestDebugger - GlossaryTest-testGlossary failed
  92. 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].
  93. 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]
  94. 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>]
  95. 23:05:46.739 [main] INFO  org.xwiki.test.ui.TestDebugger - GlossaryTest-testNewGlossaryAndInNestedSpace started
  96. 23:05:47.190 [main] INFO  org.xwiki.test.ui.TestDebugger - GlossaryTest-testNewGlossaryAndInNestedSpace failed
  97. 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].
  98. 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]
  99. 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>]
  100. 23:05:47.374 [Thread-15] INFO  o.x.t.i.XWikiLogOutputStream - Lock file [/var/tmp/xwiki-8080.lck] is missing. Aborting stop.
  101. Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 44.231 sec <<< FAILURE! - in org.xwiki.glossary.test.ui.GlossaryTest
  102. testGlossary(org.xwiki.glossary.test.ui.GlossaryTest)  Time elapsed: 1.584 sec  <<< FAILURE!
  103. java.lang.AssertionError: Unexpected code [404], was expecting one of [[204]]
  104.     at org.junit.Assert.fail(Assert.java:88)
  105.     at org.xwiki.test.ui.TestUtils.assertStatuses(TestUtils.java:1528)
  106.     at org.xwiki.test.ui.TestUtils.assertStatusCodes(TestUtils.java:1539)
  107.     at org.xwiki.test.ui.TestUtils$RestTestUtils.delete(TestUtils.java:2066)
  108.     at org.xwiki.test.ui.TestUtils$RestTestUtils.deletePage(TestUtils.java:2071)
  109.     at org.xwiki.glossary.test.ui.GlossaryTest.testGlossary(GlossaryTest.java:57)
  110.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  111.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  112.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  113.     at java.lang.reflect.Method.invoke(Method.java:498)
  114.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  115.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  116.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  117.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  118.     at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:56)
  119.     at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
  120.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  121.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  122.     at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  123.     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  124.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  125.     at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
  126.     at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
  127.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  128.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  129.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  130.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  131.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  132.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  133.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  134.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  135.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
  136.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
  137.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
  138.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
  139.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
  140.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
  141.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
  142.  
  143. testNewGlossaryAndInNestedSpace(org.xwiki.glossary.test.ui.GlossaryTest)  Time elapsed: 0.524 sec  <<< FAILURE!
  144. java.lang.AssertionError: Unexpected code [404], was expecting one of [[204]]
  145.     at org.junit.Assert.fail(Assert.java:88)
  146.     at org.xwiki.test.ui.TestUtils.assertStatuses(TestUtils.java:1528)
  147.     at org.xwiki.test.ui.TestUtils.assertStatusCodes(TestUtils.java:1539)
  148.     at org.xwiki.test.ui.TestUtils$RestTestUtils.delete(TestUtils.java:2066)
  149.     at org.xwiki.glossary.test.ui.GlossaryTest.testNewGlossaryAndInNestedSpace(GlossaryTest.java:101)
  150.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  151.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  152.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  153.     at java.lang.reflect.Method.invoke(Method.java:498)
  154.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  155.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  156.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  157.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  158.     at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:56)
  159.     at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
  160.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  161.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  162.     at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  163.     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  164.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  165.     at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
  166.     at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
  167.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  168.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  169.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  170.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  171.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  172.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  173.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  174.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  175.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
  176.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
  177.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
  178.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
  179.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
  180.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
  181.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
  182.  
  183. org.xwiki.glossary.test.ui.GlossaryTest  Time elapsed: 0.69 sec  <<< ERROR!
  184. 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.
  185.     at org.xwiki.test.integration.XWikiExecutor.waitForProcessToFinish(XWikiExecutor.java:390)
  186.     at org.xwiki.test.integration.XWikiExecutor.stop(XWikiExecutor.java:354)
  187.     at org.xwiki.test.ui.PersistentTestContext.shutdown(PersistentTestContext.java:104)
  188.     at org.xwiki.test.ui.AbstractTest.shutdown(AbstractTest.java:118)
  189.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  190.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  191.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  192.     at java.lang.reflect.Method.invoke(Method.java:498)
  193.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  194.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  195.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  196.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
  197.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  198.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
  199.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
  200.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
  201.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
  202.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
  203.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
  204.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
  205.  
  206.  
  207. Results :
  208.  
  209. Failed tests:
  210.   GlossaryTest.testGlossary:57 Unexpected code [404], was expecting one of [[204]]
  211.   GlossaryTest.testNewGlossaryAndInNestedSpace:101 Unexpected code [404], was expecting one of [[204]]
  212. Tests in error:
  213.   GlossaryTest>AbstractTest.shutdown:118 » Runtime Process failed to close prope...
  214.  
  215. Tests run: 3, Failures: 2, Errors: 1, Skipped: 0
  216.  
  217. [INFO] ------------------------------------------------------------------------
  218. [INFO] Reactor Summary:
  219. [INFO]
  220. [INFO] Glossary - Parent POM .............................. SUCCESS [ 10.490 s]
  221. [INFO] Glossary - UI ...................................... SUCCESS [ 22.007 s]
  222. [INFO] application-glossary-test .......................... SUCCESS [  0.750 s]
  223. [INFO] application-glossary-test-pageobjects .............. SUCCESS [  8.408 s]
  224. [INFO] Glossary - Tests - Functional Tests ................ FAILURE [01:47 min]
  225. [INFO] ------------------------------------------------------------------------
  226. [INFO] BUILD FAILURE
  227. [INFO] ------------------------------------------------------------------------
  228. [INFO] Total time: 02:33 min
  229. [INFO] Finished at: 2017-10-02T23:05:47+05:30
  230. [INFO] Final Memory: 101M/473M
  231. [INFO] ------------------------------------------------------------------------
  232. [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.
  233. [ERROR]
  234. [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.
  235. [ERROR] -> [Help 1]
  236. 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.
  237.  
  238. Please refer to /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/surefire-reports for the individual test results.
  239.     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
  240.     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
  241.     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
  242.     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
  243.     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
  244.     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  245.     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  246.     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
  247.     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
  248.     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
  249.     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
  250.     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
  251.     at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
  252.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  253.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  254.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  255.     at java.lang.reflect.Method.invoke(Method.java:498)
  256.     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  257.     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  258.     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  259.     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  260. Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
  261.  
  262. Please refer to /home/sarthak/Desktop/Workspace1/application-glossary/application-glossary-test/application-glossary-test-tests/target/surefire-reports for the individual test results.
  263.     at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
  264.     at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:318)
  265.     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:880)
  266.     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:739)
  267.     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  268.     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
  269.     ... 20 more
  270. [ERROR]
  271. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  272. [ERROR]
  273. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  274. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  275. [ERROR]
  276. [ERROR] After correcting the problems, you can resume the build with the command
  277. [ERROR]   mvn <goals> -rf :application-glossary-test-tests
Advertisement
Add Comment
Please, Sign In to add comment