Failing liquibase tests


I’m trying to compile the OpenMrs codebase through mvn clean install on the command line and I can get all the modules to compile barring liquibase. It’s failing on the CoreDataTunerTest (snapshot below). I’m rebased to the latest code but still getting the same issue - is there something else I should be doing to get this to compile properly ? Thanks

[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.567 s – in org.openmrs.liquibase.AbstractSnapshotTunerTest [INFO] Running org.openmrs.liquibase.CoreDataTunerTest INFO - AbstractSnapshotTuner.createUpdatedChangeLogFile(74) |2023-11-14T17:56:07,903| Updating generated Liquibase file: ‘src/test/resources/org/openmrs/liquibase/snapshots/core-data/liquibase-core-data-SNAPSHOT.xml’… INFO - AbstractSnapshotTuner.createUpdatedChangeLogFile(78) |2023-11-14T17:56:08,307| The updated file is available under: ‘/var/folders/z3/jb2my5ld6kjf5sqfdq5mrtvm0000gn/T/junit269992057144602238/liquibase-core-data-UPDATED-SNAPSHOT.xml’ [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.258 s <<< FAILURE! – in org.openmrs.liquibase.CoreDataTunerTest [ERROR] org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(Path) – Time elapsed: 0.717 s <<< FAILURE! java.lang.AssertionError:

Expected: a string equal to "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!–\n\n This Source Code Form is subject to the terms of the Mozilla Public License,\n v. 2.0.

What does this command return? mvn -v



Maven home: /Users/rmurali/maven/apache-maven-3.9.4

Java version: 1.8.0_05, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre

Default locale: en_US, platform encoding: UTF-8

OS name: “mac os x”, version: “10.16”, arch: “x86_64”, family: “mac”

Are you running this from your IDE?

No - I’m running mvn clean install on the command line from a bash prompt on my mac.

All the modules are building fine except for liquibase.