Advertisement
Suubi7

Integration Tests Failure

Apr 9th, 2024
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. [INFO] Running org.openmrs.module.webservices.rest.SessionIT
  2. Waiting for server at http://localhost:8080/openmrs for 300 more seconds...
  3. [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.773 s <<< FAILURE! - in org.openmrs.module.webservices.rest.SessionIT
  4. [ERROR] shouldAuthenticateAsAdmin(org.openmrs.module.webservices.rest.SessionIT) Time elapsed: 3.643 s <<< FAILURE!
  5. java.lang.AssertionError:
  6. 1 expectation failed.
  7. XML path authenticated doesn't match.
  8. Expected: is <true>
  9. Actual: HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 404 – Not FoundnullTypeDescriptionnullApache Tomcat/8.5.83
  10.  
  11. at org.openmrs.module.webservices.rest.SessionIT.shouldAuthenticateAsAdmin(SessionIT.java:29)
  12.  
  13. [ERROR] shouldBeUnauthenticatedByDefault(org.openmrs.module.webservices.rest.SessionIT) Time elapsed: 0.073 s <<< FAILURE!
  14. java.lang.AssertionError:
  15. 1 expectation failed.
  16. XML path authenticated doesn't match.
  17. Expected: is <false>
  18. Actual: HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 404 – Not FoundnullTypeDescriptionnullApache Tomcat/8.5.83
  19.  
  20. at org.openmrs.module.webservices.rest.SessionIT.shouldBeUnauthenticatedByDefault(SessionIT.java:23)
  21.  
  22. [INFO]
  23. [INFO] Results:
  24. [INFO]
  25. [ERROR] Failures:
  26. [ERROR] SessionIT.shouldAuthenticateAsAdmin:29 1 expectation failed.
  27. XML path authenticated doesn't match.
  28. Expected: is <true>
  29. Actual: HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 404 – Not FoundnullTypeDescriptionnullApache Tomcat/8.5.83
  30.  
  31. [ERROR] SessionIT.shouldBeUnauthenticatedByDefault:23 1 expectation failed.
  32. XML path authenticated doesn't match.
  33. Expected: is <false>
  34. Actual: HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 404 – Not FoundnullTypeDescriptionnullApache Tomcat/8.5.83
  35.  
  36. [INFO]
  37. [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
  38. [INFO]
  39. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
  40. [INFO]
  41. [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ webservices.rest-integration-tests ---
  42. [INFO] ------------------------------------------------------------------------
  43. [INFO] Reactor Summary for Rest Web Services 2.43.0-SNAPSHOT:
  44. [INFO]
  45. [INFO] Rest Web Services .................................. SUCCESS [ 1.922 s]
  46. [INFO] Rest Web Services Integration Tests ................ FAILURE [ 15.737 s]
  47. [INFO] Rest Web Services Common OMOD ...................... SKIPPED
  48. [INFO] Rest Web Services 1.8 OMOD ......................... SKIPPED
  49. [INFO] Rest Web Services 1.9 OMOD ......................... SKIPPED
  50. [INFO] Rest Web Services 1.10 OMOD ........................ SKIPPED
  51. [INFO] Rest Web Services 1.11 OMOD ........................ SKIPPED
  52. [INFO] Rest Web Services 1.12 OMOD ........................ SKIPPED
  53. [INFO] Rest Web Services 2.0 OMOD ......................... SKIPPED
  54. [INFO] Rest Web Services 2.1 OMOD ......................... SKIPPED
  55. [INFO] Rest Web Services 2.2 OMOD ......................... SKIPPED
  56. [INFO] Rest Web Services 2.3 OMOD ......................... SKIPPED
  57. [INFO] Rest Web Services 2.4 OMOD ......................... SKIPPED
  58. [INFO] Rest Web Services OMOD ............................. SKIPPED
  59. [INFO] ------------------------------------------------------------------------
  60. [INFO] BUILD FAILURE
  61. [INFO] ------------------------------------------------------------------------
  62. [INFO] Total time: 18.869 s
  63. [INFO] Finished at: 2024-04-09T22:25:51+03:00
  64. [INFO] ------------------------------------------------------------------------
  65. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.20:verify (default) on project webservices.rest-integration-tests: There are test failures.
  66. [ERROR]
  67. [ERROR] Please refer to /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/integration-tests/target/failsafe-reports for the individual test results.
  68. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
  69. [ERROR] -> [Help 1]
  70. [ERROR]
  71. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  72. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  73. [ERROR]
  74. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  75. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  76. [ERROR]
  77. [ERROR] After correcting the problems, you can resume the build with the command
  78. [ERROR] mvn <args> -rf :webservices.rest-integration-tests
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement