Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\src\test\resources
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ webservices.rest-omod-2.4 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 4 source files to C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\target\test-classes
- [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.
- [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.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ webservices.rest-omod-2.4 ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test
- [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
- [ERROR] shouldGetAll(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 11.309 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [ERROR] delete_shouldFailOnDelete(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.271 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [ERROR] shouldGetRefByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 3.599 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [ERROR] shouldGetDefaultByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 3.296 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [ERROR] shouldGetFullByUuid(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.329 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [ERROR] save_shouldFailOnSave(org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test) Time elapsed: 2.508 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_4.ServerLogController2_4Test.setUp(ServerLogController2_4Test.java:50)
- [INFO] Running org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test
- [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
- [ERROR] testGetAll(org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test) Time elapsed: 2.254 s <<< ERROR!
- java.lang.IllegalStateException: Two resources with the same name (v1/taskaction) must not have the same order
- at org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_4.ServerLogResource2_4Test.testGetAll(ServerLogResource2_4Test.java:48)
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Errors:
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogController2_4Test.setUp:50 ¦ IllegalState Two resources with the same...
- [ERROR] ServerLogResource2_4Test.testGetAll:48 ¦ IllegalState Two resources with the s...
- [INFO]
- [ERROR] Tests run: 8, Failures: 0, Errors: 7, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Rest Web Services 2.29.0-SNAPSHOT:
- [INFO]
- [INFO] Rest Web Services .................................. SUCCESS [ 16.001 s]
- [INFO] Rest Web Services Common OMOD ...................... SUCCESS [ 46.018 s]
- [INFO] Rest Web Services 1.8 OMOD ......................... SUCCESS [06:36 min]
- [INFO] Rest Web Services 1.9 OMOD ......................... SUCCESS [02:38 min]
- [INFO] Rest Web Services 1.10 OMOD ........................ SUCCESS [01:11 min]
- [INFO] Rest Web Services 1.11 OMOD ........................ SUCCESS [ 37.818 s]
- [INFO] Rest Web Services 1.12 OMOD ........................ SUCCESS [ 46.323 s]
- [INFO] Rest Web Services 2.0 OMOD ......................... SUCCESS [01:30 min]
- [INFO] Rest Web Services 2.1 OMOD ......................... SUCCESS [ 39.152 s]
- [INFO] Rest Web Services 2.2 OMOD ......................... SUCCESS [ 53.914 s]
- [INFO] Rest Web Services 2.3 OMOD ......................... SUCCESS [ 40.806 s]
- [INFO] Rest Web Services 2.4 OMOD ......................... FAILURE [01:26 min]
- [INFO] Rest Web Services OMOD ............................. SKIPPED
- [INFO] Rest Web Services Integration Tests ................ SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18:05 min
- [INFO] Finished at: 2020-05-02T22:11:50+03:00
- [INFO] ------------------------------------------------------------------------
- [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.
- [ERROR]
- [ERROR] Please refer to C:\Users\Cliff\Desktop\project\openmrs-module-webservices.rest\omod-2.4\target\surefire-reports for the individual test results.
- [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :webservices.rest-omod-2.4
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-module-webservices.rest (RESTWS-764)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement