Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)
- $ mvn -Dtest=PatientServiceTest test
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] OpenMRS [pom]
- [INFO] openmrs-tools [jar]
- [INFO] openmrs-test [pom]
- [INFO] openmrs-api [jar]
- [INFO] openmrs-web [jar]
- [INFO] openmrs-webapp [war]
- [INFO]
- [INFO] ------------------------< org.openmrs:openmrs >-------------------------
- [INFO] Building OpenMRS 2.4.0-SNAPSHOT [1/6]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
- [INFO] Storing buildNumber: 3a66ca at timestamp: 1574386937609
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
- [INFO] Storing buildScmBranch: UNKNOWN
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.4.0-SNAPSHOT [2/6]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-tools ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-core\tools\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-tools ---
- [INFO] No tests to run.
- [INFO]
- [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
- [INFO] Building openmrs-test 2.4.0-SNAPSHOT [3/6]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-test ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-test ---
- [INFO]
- [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
- [INFO] Building openmrs-api 2.4.0-SNAPSHOT [4/6]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-api ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (prepare-agent) @ openmrs-api ---
- [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
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 1036
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1036 file(s)
- [INFO] Approximate time taken: 17s
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 128 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 142 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-api ---
- [INFO] Surefire report directory: C:\Users\Cliff\Desktop\project\openmrs-core\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.api.PatientServiceTest
- Security framework of XStream not initialized, XStream is probably vulnerable.
- Tests run: 168, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 247.938 sec <<< FAILURE! - in org.openmrs.api.PatientServiceTest
- getPatients_shouldIgnoreAccentsWhenMatchingName(org.openmrs.api.PatientServiceTest) Time elapsed: 1.026 sec <<< FAILURE!
- java.lang.AssertionError: search term without accent did not find patient first name with accent
- at org.junit.Assert.fail(Assert.java:88)
- at org.junit.Assert.assertTrue(Assert.java:41)
- at org.openmrs.api.PatientServiceTest.getPatients_shouldIgnoreAccentsWhenMatchingName(PatientServiceTest.java:1957)
- Results :
- Failed tests:
- PatientServiceTest.getPatients_shouldIgnoreAccentsWhenMatchingName:1957 search term without accent did not find patient first name with accent
- Tests run: 168, Failures: 1, Errors: 0, Skipped: 1
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for OpenMRS 2.4.0-SNAPSHOT:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 2.651 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 2.312 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 0.007 s]
- [INFO] openmrs-api ........................................ FAILURE [04:44 min]
- [INFO] openmrs-web ........................................ SKIPPED
- [INFO] openmrs-webapp ..................................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 04:50 min
- [INFO] Finished at: 2019-11-22T04:47:05+03:00
- [INFO] ------------------------------------------------------------------------
- [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.
- [ERROR]
- [ERROR] Please refer to C:\Users\Cliff\Desktop\project\openmrs-core\api\target\surefire-reports for the individual test results.
- [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 :openmrs-api
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement