openmrs-core test failure

i used mvn clean install to compile

And which command did she ask you to use?

she asked me to use mvn -e to see the stack trace after running mvn clean install for compile

i have shared the results of all these maven commands in the logs above

Can you use? mvn clean install -e

@dkayiwa I have run the above command that u mentioned n got this https://pastebin.com/z7q8By8z

What does this command return? mvn -v

C:\Users\Cliff>mvn -v Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:4 7+03:00) Maven home: C:\Users\Cliff\Desktop\apache-maven-3.6.0-bin\apache-maven-3.6.0\bin … Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program Files\J ava\jdk1.8.0_191\jre Default locale: en_US, platform encoding: Cp1252 OS name: “windows 7”, version: “6.1”, arch: “amd64”, family: “windows”

Tell us what happens after running these three commands:

  • git reset --hard
  • git clean -df
  • mvn clean install -e

I get these results when i run the above commands

What happens when you run this from command line? mvn -Dtest=PatientServiceTest test

@dkayiwa I get this result Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)$ mvn -Dtest= - Pastebin.com

Just in case:

What happens if you do this while at the master branch!

  • git reset --hard upstream/master (To undo any local changes)
  • git pull upstream master: Assuming upstream is equal to => https://github.com/openmrs/openmrs-core.git
  • git reset --hard upstream/master
  • mvn clean install -e

???

@samuel34 i have run the above commands and got this result Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (master)$ git reset -- - Pastebin.com

Can we hookup on IRC??

sure am there :+1:

I have just made a commit for openmrs-core. Can you update and compile again?

1 Like

THANKS @dkayiwa for fixing this, core builds successfully now as seen here https://pastebin.com/shs8NTxF

@samuel34 @ruhanga