Advertisement
Guest User

Untitled

a guest
May 18th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.58 KB | None | 0 0
  1. JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
  2. $ git status
  3. On branch TRUNK-4946
  4. Your branch is up to date with 'origin/TRUNK-4946'.
  5.  
  6. Changes not staged for commit:
  7. (use "git add <file>..." to update what will be committed)
  8. (use "git checkout -- <file>..." to discard changes in working directory)
  9.  
  10. modified: api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
  11.  
  12. no changes added to commit (use "git add" and/or "git commit -a")
  13.  
  14. JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
  15. $ git add api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
  16.  
  17. JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
  18. $ git status
  19. On branch TRUNK-4946
  20. Your branch is up to date with 'origin/TRUNK-4946'.
  21.  
  22. Changes to be committed:
  23. (use "git reset HEAD <file>..." to unstage)
  24.  
  25. modified: api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
  26.  
  27.  
  28. JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
  29. $ mvn package -Dtest=BaseVoidHandlerTest#handle_shoudNotUpdateFieldBesidesVoidFields
  30. [INFO] Scanning for projects...
  31. [INFO] ------------------------------------------------------------------------
  32. [INFO] Reactor Build Order:
  33. [INFO]
  34. [INFO] OpenMRS [pom]
  35. [INFO] openmrs-tools [jar]
  36. [INFO] openmrs-test [pom]
  37. [INFO] openmrs-api [jar]
  38. [INFO] openmrs-web [jar]
  39. [INFO] openmrs-webapp [war]
  40. [INFO]
  41. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  42. [INFO] Building OpenMRS 2.4.0-SNAPSHOT [1/6]
  43. [INFO] --------------------------------[ pom ]---------------------------------
  44. [INFO]
  45. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  46. [INFO] Checking for local modifications: skipped.
  47. [INFO] Updating project files from SCM: skipped.
  48. [INFO] ShortRevision tag detected. The value is '6'.
  49. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  50. [INFO] Working directory: C:\Users\JULIE\OpenMRS-Tickets\openmrs-core
  51. [INFO] Storing buildNumber: 614970 at timestamp: 1589815576197
  52. [INFO] ShortRevision tag detected. The value is '6'.
  53. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  54. [INFO] Working directory: C:\Users\JULIE\OpenMRS-Tickets\openmrs-core
  55. [INFO] Storing buildScmBranch: UNKNOWN
  56. [INFO]
  57. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  58. [INFO]
  59. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
  60. [WARNING] JAR will be empty - no content was marked for inclusion!
  61. [INFO]
  62. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  63. [INFO] Building openmrs-tools 2.4.0-SNAPSHOT [2/6]
  64. [INFO] --------------------------------[ jar ]---------------------------------
  65. [INFO]
  66. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
  67. [INFO]
  68. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  69. [INFO]
  70. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  71. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  72. [INFO] Copying 4 resources
  73. [INFO]
  74. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  75. [INFO] Nothing to compile - all classes are up to date
  76. [INFO]
  77. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-tools ---
  78. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  79. [INFO] skip non existing resourceDirectory C:\Users\JULIE\OpenMRS-Tickets\openmrs-core\tools\src\test\resources
  80. [INFO]
  81. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-tools ---
  82. [INFO] No sources to compile
  83. [INFO]
  84. [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-tools ---
  85. [INFO] No tests to run.
  86. [INFO]
  87. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ openmrs-tools ---
  88. [INFO]
  89. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-tools ---
  90. [WARNING] JAR will be empty - no content was marked for inclusion!
  91. [INFO]
  92. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  93. [INFO] Building openmrs-test 2.4.0-SNAPSHOT [3/6]
  94. [INFO] --------------------------------[ pom ]---------------------------------
  95. [INFO]
  96. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-test ---
  97. [INFO]
  98. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-test ---
  99. [INFO]
  100. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-test ---
  101. [WARNING] JAR will be empty - no content was marked for inclusion!
  102. [INFO]
  103. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  104. [INFO] Building openmrs-api 2.4.0-SNAPSHOT [4/6]
  105. [INFO] --------------------------------[ jar ]---------------------------------
  106. [INFO]
  107. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-api ---
  108. [INFO]
  109. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
  110. [INFO]
  111. [INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (prepare-agent) @ openmrs-api ---
  112. [INFO] argLine set to -javaagent:C:\\Users\\JULIE\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\Users\\JULIE\\OpenMRS-Tickets\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g
  113. [INFO]
  114. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  115. [INFO] Using 'UTF-8' encoding to format source files.
  116. [INFO] Number of files to be formatted: 1035
  117. [INFO] Successfully formatted: 0 file(s)
  118. [INFO] Fail to format : 0 file(s)
  119. [INFO] Skipped : 1035 file(s)
  120. [INFO] Approximate time taken: 9s
  121. [INFO]
  122. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
  123. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  124. [INFO] Copying 1 resource
  125. [INFO] Copying 129 resources
  126. [INFO]
  127. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  128. [INFO] Nothing to compile - all classes are up to date
  129. [INFO]
  130. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
  131. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  132. [INFO] Copying 141 resources
  133. [INFO]
  134. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
  135. [INFO] Nothing to compile - all classes are up to date
  136. [INFO]
  137. [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-api ---
  138. [INFO] Surefire report directory: C:\Users\JULIE\OpenMRS-Tickets\openmrs-core\api\target\surefire-reports
  139.  
  140. -------------------------------------------------------
  141. T E S T S
  142. -------------------------------------------------------
  143. Running org.openmrs.api.handler.BaseVoidHandlerTest
  144. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in org.openmrs.api.handler.BaseVoidHandlerTest
  145. handle_shoudNotUpdateFieldBesidesVoidFields(org.openmrs.api.handler.BaseVoidHandlerTest) Time elapsed: 0 sec <<< ERROR!
  146. java.lang.Error: Unresolved compilation problems:
  147. The import org.openmrs.test.BaseContextSensitiveTest cannot be resolved
  148. BaseContextSensitiveTest cannot be resolved to a type
  149.  
  150. at org.openmrs.api.handler.BaseVoidHandlerTest.<init>(BaseVoidHandlerTest.java:20)
  151.  
  152.  
  153. Results :
  154.  
  155. Tests in error:
  156. BaseVoidHandlerTest.<init>:20 Unresolved compilation problems:
  157. The import o...
  158.  
  159. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
  160.  
  161. [INFO] ------------------------------------------------------------------------
  162. [INFO] Reactor Summary:
  163. [INFO]
  164. [INFO] OpenMRS 2.4.0-SNAPSHOT ............................. SUCCESS [ 1.498 s]
  165. [INFO] openmrs-tools ...................................... SUCCESS [ 0.827 s]
  166. [INFO] openmrs-test ....................................... SUCCESS [ 0.171 s]
  167. [INFO] openmrs-api ........................................ FAILURE [ 15.978 s]
  168. [INFO] openmrs-web ........................................ SKIPPED
  169. [INFO] openmrs-webapp 2.4.0-SNAPSHOT ...................... SKIPPED
  170. [INFO] ------------------------------------------------------------------------
  171. [INFO] BUILD FAILURE
  172. [INFO] ------------------------------------------------------------------------
  173. [INFO] Total time: 18.879 s
  174. [INFO] Finished at: 2020-05-18T18:26:33+03:00
  175. [INFO] ------------------------------------------------------------------------
  176. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project openmrs-api: There are test failures.
  177. [ERROR]
  178. [ERROR] Please refer to C:\Users\JULIE\OpenMRS-Tickets\openmrs-core\api\target\surefire-reports for the individual test results.
  179. [ERROR] -> [Help 1]
  180. [ERROR]
  181. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  182. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  183. [ERROR]
  184. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  185. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  186. [ERROR]
  187. [ERROR] After correcting the problems, you can resume the build with the command
  188. [ERROR] mvn <goals> -rf :openmrs-api
  189.  
  190. JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
  191. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement