• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-core / 9829
65%

Build:
DEFAULT BRANCH: master
Ran 19 Jul 2020 06:05AM UTC
Jobs 1
Files 746
Run time 41s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
9829

push

travis-ci

teleivo
TRUNK-5816 Run StartModuleAnnotationTest

tests in folder test are not run. Not sure when this test was ever run.
See surefire exclusions for why.

We cannot run a BaseContextSensitive with a BaseModuleContextSensitive
test in the same package. You can run it in isolation but as soon as you
add another test extending the other base class you get

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.921 s <<< FAILURE! - in org.openmrs.annotation.StartModuleAnnotationTest
[ERROR] shouldStartModules  Time elapsed: 0.003 s  <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
...
Caused by: org.hibernate.cache.CacheException:
net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
2. Shutdown the earlier cacheManager before creating new one with same name.
The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
Caused by: net.sf.ehcache.CacheException:
Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
2. Shutdown the earlier cacheManager before creating new one with same name.
The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]

Both will want to create an applicationContext with most likely a lot of
the same beans. The cause here is the duplicate ehCache with the same
name

20234 of 33270 relevant lines covered (60.82%)

0.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9829.1 19 Jul 2020 06:05AM UTC 0
60.82
Travis Job 9829.1
Source Files on build 9829
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9829
  • 7481583d on github
  • Prev Build on master (#9823)
  • Next Build on master (#9830)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc