Advertisement
Guest User

Untitled

a guest
May 2nd, 2020
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  2. [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\src\test\resources
  3. [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\src\test\resources
  4. [INFO]
  5. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ webservices.rest-omod-2.4 ---
  6. [INFO] Changes detected - recompiling the module!
  7. [INFO] Compiling 4 source files to C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\target\test-classes
  8. [WARNING] /C:/Users/Cliff/Desktop/project/openmrs-module-webservices.rest/omod-2.4/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs2_4/ServerLogController2_4Test.java: C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\src\test\java\org\openmrs\module\webservices\rest\web\v1_0\controller\openmrs2_4\ServerLogController2_4Test.java uses or overrides a deprecated API.
  9. [WARNING] /C:/Users/Cliff/Desktop/project/openmrs-module-webservices.rest/omod-2.4/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs2_4/ServerLogController2_4Test.java: Recompile with -Xlint:deprecation for details.
  10. [INFO]
  11. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ webservices.rest-omod-2.4 ---
  12. [INFO]
  13. [INFO] -------------------------------------------------------
  14. [INFO] T E S T S
  15. [INFO] -------------------------------------------------------
  16. [INFO] Running org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test
  17. [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 51.675 s <<< FAILURE! - in org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test
  18. [ERROR] shouldGetAll(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 11.309 s <<< ERROR!
  19. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  20. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  21.  
  22. [ERROR] delete_shouldFailOnDelete(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.271 s <<< ERROR!
  23. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  24. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  25.  
  26. [ERROR] shouldGetRefByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 3.599 s <<< ERROR!
  27. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  28. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  29.  
  30. [ERROR] shouldGetDefaultByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 3.296 s <<< ERROR!
  31. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  32. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  33.  
  34. [ERROR] shouldGetFullByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.329 s <<< ERROR!
  35. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  36. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  37.  
  38. [ERROR] save_shouldFailOnSave(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.508 s <<< ERROR!
  39. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  40. at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
  41.  
  42. [INFO] Running org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test
  43. [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.809 s <<< FAILURE! - in org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test
  44. [ERROR] testGetAll(org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test) Time elapsed: 2.254 s <<< ERROR!
  45. java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
  46. at org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test.testGetAll(ServerLogResource2_4Test.java:48)
  47.  
  48. [INFO]
  49. [INFO] Results:
  50. [INFO]
  51. [ERROR] Errors:
  52. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  53. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  54. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  55. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  56. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  57. [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
  58. [ERROR] ServerLogResource2_4Test.testGetAll:48 ¦ IllegalState Two resources with the s...
  59. [INFO]
  60. [ERROR] Tests run: 8, Failures: 0, Errors: 7, Skipped: 0
  61. [INFO]
  62. [INFO] ------------------------------------------------------------------------
  63. [INFO] Reactor Summary for Rest Web Services 2.29.0-SNAPSHOT:
  64. [INFO]
  65. [INFO] Rest Web Services .................................. SUCCESS [ 16.001 s]
  66. [INFO] Rest Web Services Common OMOD ...................... SUCCESS [ 46.018 s]
  67. [INFO] Rest Web Services 1.8 OMOD ......................... SUCCESS [06:36 min]
  68. [INFO] Rest Web Services 1.9 OMOD ......................... SUCCESS [02:38 min]
  69. [INFO] Rest Web Services 1.10 OMOD ........................ SUCCESS [01:11 min]
  70. [INFO] Rest Web Services 1.11 OMOD ........................ SUCCESS [ 37.818 s]
  71. [INFO] Rest Web Services 1.12 OMOD ........................ SUCCESS [ 46.323 s]
  72. [INFO] Rest Web Services 2.0 OMOD ......................... SUCCESS [01:30 min]
  73. [INFO] Rest Web Services 2.1 OMOD ......................... SUCCESS [ 39.152 s]
  74. [INFO] Rest Web Services 2.2 OMOD ......................... SUCCESS [ 53.914 s]
  75. [INFO] Rest Web Services 2.3 OMOD ......................... SUCCESS [ 40.806 s]
  76. [INFO] Rest Web Services 2.4 OMOD ......................... FAILURE [01:26 min]
  77. [INFO] Rest Web Services OMOD ............................. SKIPPED
  78. [INFO] Rest Web Services Integration Tests ................ SKIPPED
  79. [INFO] ------------------------------------------------------------------------
  80. [INFO] BUILD FAILURE
  81. [INFO] ------------------------------------------------------------------------
  82. [INFO] Total time: 18:05 min
  83. [INFO] Finished at: 2020-05-02T22:11:50+03:00
  84. [INFO] ------------------------------------------------------------------------
  85. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project webservices.rest-omod-2.4: There are test failures.
  86. [ERROR]
  87. [ERROR] Please refer to C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\target\surefire-reports for the individual test results.
  88. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
  89. [ERROR] -> [Help 1]
  90. [ERROR]
  91. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  92. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  93. [ERROR]
  94. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  95. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  96. [ERROR]
  97. [ERROR] After correcting the problems, you can resume the build with the command
  98. [ERROR] mvn <goals> -rf :webservices.rest-omod-2.4
  99.  
  100. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-module-webservices.rest (RESTWS-764)
  101. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement