Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.52 KB | None | 0 0
  1. Reactor Summary:
  2. [INFO]
  3. [INFO] Rest Web Services .................................. SUCCESS [ 1.901 s]
  4. [INFO] Rest Web Services Common OMOD ...................... SUCCESS [ 37.977 s]
  5. [INFO] Rest Web Services 1.8 OMOD ......................... SUCCESS [ 59.720 s]
  6. [INFO] Rest Web Services 1.9 OMOD ......................... SUCCESS [01:31 min]
  7. [INFO] Rest Web Services 1.10 OMOD ........................ SUCCESS [ 42.622 s]
  8. [INFO] Rest Web Services 1.11 OMOD ........................ SUCCESS [ 32.348 s]
  9. [INFO] Rest Web Services 1.12 OMOD ........................ SUCCESS [ 33.134 s]
  10. [INFO] Rest Web Services 2.0 OMOD ......................... SUCCESS [ 54.669 s]
  11. [INFO] Rest Web Services 2.1 OMOD ......................... SUCCESS [ 26.106 s]
  12. [INFO] Rest Web Services 2.2 OMOD ......................... FAILURE [ 2.476 s]
  13. [INFO] Rest Web Services OMOD ............................. SKIPPED
  14. [INFO] Rest Web Services Integration Tests ................ SKIPPED
  15. [INFO] ------------------------------------------------------------------------
  16. [INFO] BUILD FAILURE
  17. [INFO] ------------------------------------------------------------------------
  18. [INFO] Total time: 06:23 min
  19. [INFO] Finished at: 2018-12-17T10:40:34+01:00
  20. [INFO] Final Memory: 72M/380M
  21. [INFO] ------------------------------------------------------------------------
  22. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project webservices.rest-omod-2.2: There are test failures.
  23. [ERROR]
  24. [ERROR] Please refer to /Users/harisu/Documents/github/FixingREST/openmrs-module-webservices.rest/omod-2.2/target/surefire-reports for the individual test results.
  25. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
  26. [ERROR] There was an error in the forked process
  27. [ERROR] org/openmrs/test/BaseModuleContextSensitiveTest
  28. [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
  29. [ERROR] org/openmrs/test/BaseModuleContextSensitiveTest
  30. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:656)
  31. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
  32. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
  33. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
  34. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
  35. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
  36. [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  37. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  38. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  39. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  40. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  41. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  42. [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  43. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  44. [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  45. [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  46. [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  47. [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  48. [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  49. [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  50. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  51. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  52. [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  53. [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
  54. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  55. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  56. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  57. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  58. [ERROR] -> [Help 1]
  59. [ERROR]
  60. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  61. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  62. [ERROR]
  63. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  64. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  65. [ERROR]
  66. [ERROR] After correcting the problems, you can resume the build with the command
  67. [ERROR] mvn <goals> -rf :webservices.rest-omod-2.2
  68. MacBook-Pro-de-MacBook:openmrs-module-webservices.rest harisu$
  69.  
  70.  
  71. and here is the result of the /Users/harisu/Documents/github/FixingREST/openmrs-module-webservices.rest/omod-2.2/target/surefire-reports
  72.  
  73. # Created at 2018-12-17T10:40:34.406
  74. java.lang.NoClassDefFoundError: org/openmrs/test/BaseModuleContextSensitiveTest
  75. at java.lang.ClassLoader.defineClass1(Native Method)
  76. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  77. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  78. at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
  79. at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
  80. at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
  81. at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
  82. at java.security.AccessController.doPrivileged(Native Method)
  83. at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
  84. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  85. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
  86. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  87. at java.lang.ClassLoader.defineClass1(Native Method)
  88. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  89. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  90. at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
  91. at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
  92. at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
  93. at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
  94. at java.security.AccessController.doPrivileged(Native Method)
  95. at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
  96. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  97. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
  98. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  99. at java.lang.ClassLoader.defineClass1(Native Method)
  100. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  101. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  102. at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
  103. at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
  104. at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
  105. at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
  106. at java.security.AccessController.doPrivileged(Native Method)
  107. at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
  108. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  109. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
  110. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  111. at java.lang.ClassLoader.defineClass1(Native Method)
  112. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  113. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  114. at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
  115. at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
  116. at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
  117. at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
  118. at java.security.AccessController.doPrivileged(Native Method)
  119. at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
  120. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  121. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
  122. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  123. at org.apache.maven.surefire.util.DefaultScanResult.loadClass(DefaultScanResult.java:136)
  124. at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:100)
  125. at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:309)
  126. at org.apache.maven.surefire.junit4.JUnit4Provider.setTestsToRun(JUnit4Provider.java:189)
  127. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:132)
  128. at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
  129. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
  130. at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
  131. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
  132. Caused by: java.lang.ClassNotFoundException: org.openmrs.test.BaseModuleContextSensitiveTest
  133. at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  134. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  135. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
  136. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  137. ... 57 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement