Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\HP\openmrs-core>mvn test -Dtest=SchemaOnlyTunerTest
- [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] openmrs-liquibase [jar]
- [INFO]
- [INFO] ------------------------< org.openmrs:openmrs >-------------------------
- [INFO] Building OpenMRS 2.6.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
- [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\HP\openmrs-core
- [INFO] Storing buildNumber: e82da7 at timestamp: 1664194892747
- [INFO] Storing buildScmBranch: master
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
- [INFO] skip non existing resourceDirectory C:\Users\HP\openmrs-core\tools\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
- [INFO]
- [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
- [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
- [INFO]
- [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
- [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
- [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
- [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: 1111
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1111 file(s)
- [INFO] Approximate time taken: 4s
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
- [INFO] Copying 1 resource
- [INFO] Copying 161 resources
- [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-api ---
- [INFO] Copying 153 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
- [INFO]
- [INFO] --------------------< org.openmrs.web:openmrs-web >---------------------
- [INFO] Building openmrs-web 2.6.0-SNAPSHOT [5/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-web ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-web ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-web ---
- [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\web\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-web ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 59
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 59 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-web ---
- [INFO] Copying 22 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-web ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-web ---
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-web ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-web ---
- [INFO]
- [INFO] -------------------< org.openmrs.web:openmrs-webapp >-------------------
- [INFO] Building openmrs-webapp 2.6.0-SNAPSHOT [6/7]
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-webapp ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-webapp ---
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ openmrs-webapp ---
- [INFO] Executing tasks
- [INFO] [unzip] Expanding: C:\Users\HP\openmrs-core\webapp\src\main\resources\liquibase-demo-data.zip into C:\Users\HP\openmrs-core\webapp\target\classes
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-webapp ---
- [INFO]
- [INFO] --------------< org.openmrs.liquibase:openmrs-liquibase >---------------
- [INFO] Building openmrs-liquibase 2.6.0-SNAPSHOT [7/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-liquibase ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-liquibase ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-liquibase ---
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-liquibase ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-liquibase ---
- [INFO] Copying 7 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-liquibase ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-liquibase ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.liquibase.SchemaOnlyTunerTest
- [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.92 s <<< FAILURE! - in org.openmrs.liquibase.SchemaOnlyTunerTest
- [ERROR] shouldDetectWrongNumberOfLongtextNodes Time elapsed: 0.877 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldReplaceBitTypeWithBooleanType Time elapsed: 0.001 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldCreateUpdatedChangeLogFile{Path} Time elapsed: 0.003 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldReplaceLongtextTypeWithClobType Time elapsed: 0.003 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldDetectWrongGrandParentNodeOfLongtextNode Time elapsed: 0.002 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldAssertLongtextNode Time elapsed: 0.003 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [ERROR] shouldDetachChangeSetsForLiquibaseTables Time elapsed: 0.003 s <<< ERROR!
- java.io.FileNotFoundException: Could not find resolve 'orgpp\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-SNAPSHOT.xml' to a file. Instead got 'null'.
- at org.openmrs.liquibase.SchemaOnlyTunerTest.setup(SchemaOnlyTunerTest.java:54)
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Errors:
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [ERROR] SchemaOnlyTunerTest.setup:54 » FileNotFound Could not find resolve 'orgpp\open...
- [INFO]
- [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 1.176 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 0.658 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 0.016 s]
- [INFO] openmrs-api ........................................ SUCCESS [ 6.134 s]
- [INFO] openmrs-web ........................................ SUCCESS [ 0.736 s]
- [INFO] openmrs-webapp ..................................... SUCCESS [ 1.058 s]
- [INFO] openmrs-liquibase .................................. FAILURE [ 3.059 s]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 13.183 s
- [INFO] Finished at: 2022-09-26T15:21:44+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-liquibase: There are test failures.
- [ERROR]
- [ERROR] Please refer to C:\Users\HP\openmrs-core\liquibase\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 <args> -rf :openmrs-liquibase
- C:\Users\HP\openmrs-core>
Advertisement
Add Comment
Please, Sign In to add comment