Question: Hello guys:
I’m facing issue to build openmrs-core from the GitHub repository. It looks like the issue is with some test failures The following are the Java and Maven versions:
The following are the errors shown when running the command from the GitHub repo steps: mvn clean package
[INFO]
[ERROR] Tests run: 4349, Failures: 2, Errors: 15, Skipped: 38
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for OpenMRS 2.5.0-SNAPSHOT:
[INFO]
[INFO] OpenMRS ............................................ SUCCESS [ 1.220 s]
[INFO] openmrs-tools ...................................... SUCCESS [ 0.759 s]
[INFO] openmrs-test ....................................... SUCCESS [ 0.234 s]
[INFO] openmrs-api ........................................ FAILURE [05:59 min]
[INFO] openmrs-web ........................................ SKIPPED
[INFO] openmrs-webapp ..................................... SKIPPED
[INFO] openmrs-liquibase .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:01 min
[INFO] Finished at: 2021-02-01T12:58:58+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-api: There are test failures.
Please find the error log here https://pastebin.com/2YNCcBUU