Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
- $ git status
- On branch TRUNK-4946
- Your branch is up to date with 'origin/TRUNK-4946'.
- Changes not staged for commit:
- (use "git add <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
- modified: api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
- no changes added to commit (use "git add" and/or "git commit -a")
- JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
- $ git add api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
- JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
- $ git status
- On branch TRUNK-4946
- Your branch is up to date with 'origin/TRUNK-4946'.
- Changes to be committed:
- (use "git reset HEAD <file>..." to unstage)
- modified: api/src/test/java/org/openmrs/api/handler/BaseVoidHandlerTest.java
- JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
- $ mvn package -Dtest=BaseVoidHandlerTest#handle_shoudNotUpdateFieldBesidesVoidFields
- [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\JULIE\OpenMRS-Tickets\openmrs-core
- [INFO] Storing buildNumber: 614970 at timestamp: 1589815576197
- [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\JULIE\OpenMRS-Tickets\openmrs-core
- [INFO] Storing buildScmBranch: UNKNOWN
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [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\JULIE\OpenMRS-Tickets\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] --- maven-jar-plugin:2.3.2:jar (default-jar) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-tools ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [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] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-test ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [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\\JULIE\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\Users\\JULIE\\OpenMRS-Tickets\\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: 1035
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1035 file(s)
- [INFO] Approximate time taken: 9s
- [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 129 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 141 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\JULIE\OpenMRS-Tickets\openmrs-core\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.api.handler.BaseVoidHandlerTest
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in org.openmrs.api.handler.BaseVoidHandlerTest
- handle_shoudNotUpdateFieldBesidesVoidFields(org.openmrs.api.handler.BaseVoidHandlerTest) Time elapsed: 0 sec <<< ERROR!
- java.lang.Error: Unresolved compilation problems:
- The import org.openmrs.test.BaseContextSensitiveTest cannot be resolved
- BaseContextSensitiveTest cannot be resolved to a type
- at org.openmrs.api.handler.BaseVoidHandlerTest.<init>(BaseVoidHandlerTest.java:20)
- Results :
- Tests in error:
- BaseVoidHandlerTest.<init>:20 Unresolved compilation problems:
- The import o...
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] OpenMRS 2.4.0-SNAPSHOT ............................. SUCCESS [ 1.498 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 0.827 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 0.171 s]
- [INFO] openmrs-api ........................................ FAILURE [ 15.978 s]
- [INFO] openmrs-web ........................................ SKIPPED
- [INFO] openmrs-webapp 2.4.0-SNAPSHOT ...................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18.879 s
- [INFO] Finished at: 2020-05-18T18:26:33+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\JULIE\OpenMRS-Tickets\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
- JULIE@JULIE-PC MINGW64 ~/OpenMRS-Tickets/openmrs-core (TRUNK-4946)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement