I am using Java 8 and maven 3.1.1 version.
Can the maven version be a problem?
Will update to 3.2.3 right away and inform in case I find any problem in building then.
I remember that this year in Maputo we discussed getting OpenMRS ready to work with Java 8. Don’t know if that is already done.
So the problem might be Java 8. But the core developers probably know more about the status than I do…
Hey, thank you But the paths are all rightly set. I’ve rechecked them again
I have upgraded to Java 8 more than a week ago, and builds worked fine till yesterday!
Commit db40873d60bf7ce0f14a47fb6a31e6f511e3fc01 is passing fine all the tests in maven clean install for me locally. I’m not sure why it’s passing in Bamboo, it’s weird.
I am also facing build failure and it is stuck on openmrs-webapp module as it is unable to find liquibase-demo-data.zip file although when I checked, the file exists at this path: C: \openmrs-core\webapp\src\main\webapp\resources. Below is the status summary:
Good news: @cintiadr and I were able to make build red when the above error happened. We had to upgrade surefire maven plugin in order to make that happen. @dkayiwa committed the fix and made the build green o/
Bad news: After the upgrade the tests are taking more time to run. We had to put one in quarantine because it was failing inconsistently. There is a ticket created to fix it. We had also to disable the sonar task, because it is throwing some weird GC errors.
We’ll have a look on those issues in the next few days, if anyone else want to look as well, feel free to do it
It’s the surefire plugin upgrade + -Psonar profile. I could easily reproduce it locally.
We disabled the last task, the one which would send the results to Sonar,
as we haven’t had the opportunity to take a look yet on why it was failing
on GC, regardless of the amount of memory configured.
Hum, weird that travisCI is red. I saw that @dkayiwa fixed the tests, so I haven’t checked in travisCI too.
@raff The tests failing on travis ci are totally different from the ones who were breaking in Bamboo at that time. Not sure how we configured the build in Travis CI but must be somehow different from what we have done in Bamboo. So I really don’t know the difference
If you want to see our change on Bamboo it is here
We have disabled the last task, because it was failing for some weird reason. As @cintiadr has mentioned the tests got pretty slow after surefire plugin upgrade. Important to note thought, you need to use the sonar profile. You might test that in your local as well.