makanga

Untitled

Sep 26th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.83 KB | None | 0 0
  1. C:\Users\HP\openmrs-core>mvn test -Dtest=SchemaOnlyTunerTest
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] OpenMRS [pom]
  7. [INFO] openmrs-tools [jar]
  8. [INFO] openmrs-test [pom]
  9. [INFO] openmrs-api [jar]
  10. [INFO] openmrs-web [jar]
  11. [INFO] openmrs-webapp [war]
  12. [INFO] openmrs-liquibase [jar]
  13. [INFO]
  14. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  15. [INFO] Building OpenMRS 2.6.0-SNAPSHOT [1/7]
  16. [INFO] --------------------------------[ pom ]---------------------------------
  17. [INFO]
  18. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
  19. [INFO] ShortRevision tag detected. The value is '6'.
  20. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  21. [INFO] Working directory: C:\Users\HP\openmrs-core
  22. [INFO] Storing buildNumber: e82da7 at timestamp: 1664194892747
  23. [INFO] Storing buildScmBranch: master
  24. [INFO]
  25. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
  26. [INFO]
  27. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  28. [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
  29. [INFO] --------------------------------[ jar ]---------------------------------
  30. [INFO]
  31. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
  32. [INFO]
  33. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
  34. [INFO]
  35. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
  36. [INFO] Copying 4 resources
  37. [INFO]
  38. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
  39. [INFO] No sources to compile
  40. [INFO]
  41. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
  42. [INFO] skip non existing resourceDirectory C:\Users\HP\openmrs-core\tools\src\test\resources
  43. [INFO]
  44. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-tools ---
  45. [INFO] No sources to compile
  46. [INFO]
  47. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  48. [INFO]
  49. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  50. [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
  51. [INFO] --------------------------------[ pom ]---------------------------------
  52. [INFO]
  53. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
  54. [INFO]
  55. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
  56. [INFO]
  57. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  58. [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
  59. [INFO] --------------------------------[ jar ]---------------------------------
  60. [INFO]
  61. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
  62. [INFO]
  63. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
  64. [INFO]
  65. [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
  66. [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
  67. [INFO]
  68. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  69. [INFO] Using 'UTF-8' encoding to format source files.
  70. [INFO] Number of files to be formatted: 1111
  71. [INFO] Successfully formatted: 0 file(s)
  72. [INFO] Fail to format : 0 file(s)
  73. [INFO] Skipped : 1111 file(s)
  74. [INFO] Approximate time taken: 4s
  75. [INFO]
  76. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
  77. [INFO] Copying 1 resource
  78. [INFO] Copying 161 resources
  79. [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
  80. [INFO]
  81. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
  82. [INFO] Nothing to compile - all classes are up to date
  83. [INFO]
  84. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-api ---
  85. [INFO] Copying 153 resources
  86. [INFO]
  87. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-api ---
  88. [INFO] Nothing to compile - all classes are up to date
  89. [INFO]
  90. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
  91. [INFO]
  92. [INFO] --------------------< org.openmrs.web:openmrs-web >---------------------
  93. [INFO] Building openmrs-web 2.6.0-SNAPSHOT [5/7]
  94. [INFO] --------------------------------[ jar ]---------------------------------
  95. [INFO]
  96. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-web ---
  97. [INFO]
  98. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-web ---
  99. [INFO]
  100. [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-web ---
  101. [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\web\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
  102. [INFO]
  103. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-web ---
  104. [INFO] Using 'UTF-8' encoding to format source files.
  105. [INFO] Number of files to be formatted: 59
  106. [INFO] Successfully formatted: 0 file(s)
  107. [INFO] Fail to format : 0 file(s)
  108. [INFO] Skipped : 59 file(s)
  109. [INFO] Approximate time taken: 0s
  110. [INFO]
  111. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-web ---
  112. [INFO] Copying 22 resources
  113. [INFO]
  114. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-web ---
  115. [INFO] Nothing to compile - all classes are up to date
  116. [INFO]
  117. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-web ---
  118. [INFO] Copying 3 resources
  119. [INFO]
  120. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-web ---
  121. [INFO] Nothing to compile - all classes are up to date
  122. [INFO]
  123. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-web ---
  124. [INFO]
  125. [INFO] -------------------< org.openmrs.web:openmrs-webapp >-------------------
  126. [INFO] Building openmrs-webapp 2.6.0-SNAPSHOT [6/7]
  127. [INFO] --------------------------------[ war ]---------------------------------
  128. [INFO]
  129. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-webapp ---
  130. [INFO]
  131. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-webapp ---
  132. [INFO]
  133. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-webapp ---
  134. [INFO] Copying 2 resources
  135. [INFO] Copying 1 resource to ../jetty
  136. [INFO]
  137. [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ openmrs-webapp ---
  138. [INFO] Executing tasks
  139. [INFO] [unzip] Expanding: C:\Users\HP\openmrs-core\webapp\src\main\resources\liquibase-demo-data.zip into C:\Users\HP\openmrs-core\webapp\target\classes
  140. [INFO] Executed tasks
  141. [INFO]
  142. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-webapp ---
  143. [INFO] No sources to compile
  144. [INFO]
  145. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-webapp ---
  146. [INFO] Copying 1 resource
  147. [INFO]
  148. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-webapp ---
  149. [INFO] No sources to compile
  150. [INFO]
  151. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-webapp ---
  152. [INFO]
  153. [INFO] --------------< org.openmrs.liquibase:openmrs-liquibase >---------------
  154. [INFO] Building openmrs-liquibase 2.6.0-SNAPSHOT [7/7]
  155. [INFO] --------------------------------[ jar ]---------------------------------
  156. [INFO]
  157. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-liquibase ---
  158. [INFO]
  159. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-liquibase ---
  160. [INFO]
  161. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-liquibase ---
  162. [INFO] Copying 1 resource
  163. [INFO]
  164. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-liquibase ---
  165. [INFO] Nothing to compile - all classes are up to date
  166. [INFO]
  167. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-liquibase ---
  168. [INFO] Copying 7 resources
  169. [INFO]
  170. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-liquibase ---
  171. [INFO] Nothing to compile - all classes are up to date
  172. [INFO]
  173. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-liquibase ---
  174. [INFO]
  175. [INFO] -------------------------------------------------------
  176. [INFO] T E S T S
  177. [INFO] -------------------------------------------------------
  178. [INFO] Running org.openmrs.liquibase.SchemaOnlyTunerTest
  179. [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.92 s <<< FAILURE! - in org.openmrs.liquibase.SchemaOnlyTunerTest
  180. [ERROR] shouldDetectWrongNumberOfLongtextNodes Time elapsed: 0.877 s <<< ERROR!
  181. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  182. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  183.  
  184. [ERROR] shouldReplaceBitTypeWithBooleanType Time elapsed: 0.001 s <<< ERROR!
  185. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  186. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  187.  
  188. [ERROR] shouldCreateUpdatedChangeLogFile{Path} Time elapsed: 0.003 s <<< ERROR!
  189. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  190. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  191.  
  192. [ERROR] shouldReplaceLongtextTypeWithClobType Time elapsed: 0.003 s <<< ERROR!
  193. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  194. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  195.  
  196. [ERROR] shouldDetectWrongGrandParentNodeOfLongtextNode Time elapsed: 0.002 s <<< ERROR!
  197. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  198. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  199.  
  200. [ERROR] shouldAssertLongtextNode Time elapsed: 0.003 s <<< ERROR!
  201. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  202. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  203.  
  204. [ERROR] shouldDetachChangeSetsForLiquibaseTables Time elapsed: 0.003 s <<< ERROR!
  205. java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
  206. at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
  207.  
  208. [INFO]
  209. [INFO] Results:
  210. [INFO]
  211. [ERROR] Errors:
  212. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  213. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  214. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  215. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  216. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  217. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  218. [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
  219. [INFO]
  220. [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0
  221. [INFO]
  222. [INFO] ------------------------------------------------------------------------
  223. [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
  224. [INFO]
  225. [INFO] OpenMRS ............................................ SUCCESS [ 1.176 s]
  226. [INFO] openmrs-tools ...................................... SUCCESS [ 0.658 s]
  227. [INFO] openmrs-test ....................................... SUCCESS [ 0.016 s]
  228. [INFO] openmrs-api ........................................ SUCCESS [ 6.134 s]
  229. [INFO] openmrs-web ........................................ SUCCESS [ 0.736 s]
  230. [INFO] openmrs-webapp ..................................... SUCCESS [ 1.058 s]
  231. [INFO] openmrs-liquibase .................................. FAILURE [ 3.059 s]
  232. [INFO] ------------------------------------------------------------------------
  233. [INFO] BUILD FAILURE
  234. [INFO] ------------------------------------------------------------------------
  235. [INFO] Total time: 13.183 s
  236. [INFO] Finished at: 2022-09-26T15:21:44+03:00
  237. [INFO] ------------------------------------------------------------------------
  238. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-liquibase: There are test failures.
  239. [ERROR]
  240. [ERROR] Please refer to C:\Users\HP\openmrs-core\liquibase\target\surefire-reports for the individual test results.
  241. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
  242. [ERROR] -> [Help 1]
  243. [ERROR]
  244. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  245. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  246. [ERROR]
  247. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  248. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  249. [ERROR]
  250. [ERROR] After correcting the problems, you can resume the build with the command
  251. [ERROR] mvn <args> -rf :openmrs-liquibase
  252.  
  253. C:\Users\HP\openmrs-core>
Advertisement
Add Comment
Please, Sign In to add comment