Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.27 KB | None | 0 0
  1.  
  2. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)
  3. $ mvn -Dtest=PatientServiceTest test
  4. [INFO] Scanning for projects...
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO] Reactor Build Order:
  7. [INFO]
  8. [INFO] OpenMRS [pom]
  9. [INFO] openmrs-tools [jar]
  10. [INFO] openmrs-test [pom]
  11. [INFO] openmrs-api [jar]
  12. [INFO] openmrs-web [jar]
  13. [INFO] openmrs-webapp [war]
  14. [INFO]
  15. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  16. [INFO] Building OpenMRS 2.4.0-SNAPSHOT [1/6]
  17. [INFO] --------------------------------[ pom ]---------------------------------
  18. [INFO]
  19. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  20. [INFO] Checking for local modifications: skipped.
  21. [INFO] Updating project files from SCM: skipped.
  22. [INFO] ShortRevision tag detected. The value is '6'.
  23. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  24. [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
  25. [INFO] Storing buildNumber: 3a66ca at timestamp: 1574386937609
  26. [INFO] ShortRevision tag detected. The value is '6'.
  27. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  28. [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
  29. [INFO] Storing buildScmBranch: UNKNOWN
  30. [INFO]
  31. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  32. [INFO]
  33. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  34. [INFO] Building openmrs-tools 2.4.0-SNAPSHOT [2/6]
  35. [INFO] --------------------------------[ jar ]---------------------------------
  36. [INFO]
  37. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
  38. [INFO]
  39. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  40. [INFO]
  41. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  42. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  43. [INFO] Copying 4 resources
  44. [INFO]
  45. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  46. [INFO] Nothing to compile - all classes are up to date
  47. [INFO]
  48. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-tools ---
  49. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  50. [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-core\tools\src\test\resources
  51. [INFO]
  52. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-tools ---
  53. [INFO] No sources to compile
  54. [INFO]
  55. [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-tools ---
  56. [INFO] No tests to run.
  57. [INFO]
  58. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  59. [INFO] Building openmrs-test 2.4.0-SNAPSHOT [3/6]
  60. [INFO] --------------------------------[ pom ]---------------------------------
  61. [INFO]
  62. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-test ---
  63. [INFO]
  64. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-test ---
  65. [INFO]
  66. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  67. [INFO] Building openmrs-api 2.4.0-SNAPSHOT [4/6]
  68. [INFO] --------------------------------[ jar ]---------------------------------
  69. [INFO]
  70. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-api ---
  71. [INFO]
  72. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
  73. [INFO]
  74. [INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (prepare-agent) @ openmrs-api ---
  75. [INFO] argLine set to -javaagent:C:\\Users\\Cliff\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\Users\\Cliff\\Desktop\\project\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g
  76. [INFO]
  77. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  78. [INFO] Using 'UTF-8' encoding to format source files.
  79. [INFO] Number of files to be formatted: 1036
  80. [INFO] Successfully formatted: 0 file(s)
  81. [INFO] Fail to format : 0 file(s)
  82. [INFO] Skipped : 1036 file(s)
  83. [INFO] Approximate time taken: 17s
  84. [INFO]
  85. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
  86. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  87. [INFO] Copying 1 resource
  88. [INFO] Copying 128 resources
  89. [INFO]
  90. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  91. [INFO] Nothing to compile - all classes are up to date
  92. [INFO]
  93. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
  94. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  95. [INFO] Copying 142 resources
  96. [INFO]
  97. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
  98. [INFO] Nothing to compile - all classes are up to date
  99. [INFO]
  100. [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-api ---
  101. [INFO] Surefire report directory: C:\Users\Cliff\Desktop\project\openmrs-core\api\target\surefire-reports
  102.  
  103. -------------------------------------------------------
  104. T E S T S
  105. -------------------------------------------------------
  106. Running org.openmrs.api.PatientServiceTest
  107. Security framework of XStream not initialized, XStream is probably vulnerable.
  108. Tests run: 168, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 247.938 sec <<< FAILURE! - in org.openmrs.api.PatientServiceTest
  109. getPatients_shouldIgnoreAccentsWhenMatchingName(org.openmrs.api.PatientServiceTest) Time elapsed: 1.026 sec <<< FAILURE!
  110. java.lang.AssertionError: search term without accent did not find patient first name with accent
  111. at org.junit.Assert.fail(Assert.java:88)
  112. at org.junit.Assert.assertTrue(Assert.java:41)
  113. at org.openmrs.api.PatientServiceTest.getPatients_shouldIgnoreAccentsWhenMatchingName(PatientServiceTest.java:1957)
  114.  
  115.  
  116. Results :
  117.  
  118. Failed tests:
  119. PatientServiceTest.getPatients_shouldIgnoreAccentsWhenMatchingName:1957 search term without accent did not find patient first name with accent
  120.  
  121. Tests run: 168, Failures: 1, Errors: 0, Skipped: 1
  122.  
  123. [INFO] ------------------------------------------------------------------------
  124. [INFO] Reactor Summary for OpenMRS 2.4.0-SNAPSHOT:
  125. [INFO]
  126. [INFO] OpenMRS ............................................ SUCCESS [ 2.651 s]
  127. [INFO] openmrs-tools ...................................... SUCCESS [ 2.312 s]
  128. [INFO] openmrs-test ....................................... SUCCESS [ 0.007 s]
  129. [INFO] openmrs-api ........................................ FAILURE [04:44 min]
  130. [INFO] openmrs-web ........................................ SKIPPED
  131. [INFO] openmrs-webapp ..................................... SKIPPED
  132. [INFO] ------------------------------------------------------------------------
  133. [INFO] BUILD FAILURE
  134. [INFO] ------------------------------------------------------------------------
  135. [INFO] Total time: 04:50 min
  136. [INFO] Finished at: 2019-11-22T04:47:05+03:00
  137. [INFO] ------------------------------------------------------------------------
  138. [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.
  139. [ERROR]
  140. [ERROR] Please refer to C:\Users\Cliff\Desktop\project\openmrs-core\api\target\surefire-reports for the individual test results.
  141. [ERROR] -> [Help 1]
  142. [ERROR]
  143. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  144. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  145. [ERROR]
  146. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  147. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  148. [ERROR]
  149. [ERROR] After correcting the problems, you can resume the build with the command
  150. [ERROR] mvn <goals> -rf :openmrs-api
  151.  
  152. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)
  153. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement