OpenMRS Core Master

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
8 minutes
Labels
None
Revisions
openmrs-core
00a3747a41d41e2739fd011058933104f7527b06 00a3747a41d41e2739fd011058933104f7527b06
openmrs-standalone
8af748fdb6fe93f74ebb4b89e03b262fcd37b5c0 8af748fdb6fe93f74ebb4b89e03b262fcd37b5c0
Release scripts
1969d1c2650fc66ab14f5edb4052a329a196f370 1969d1c2650fc66ab14f5edb4052a329a196f370
Total tests
4365
Fixed in
#2343 (Changes by teleivo <teleivo@users.noreply.github.com>)

Tests

Responsible

No one has taken responsibility for this failure

Code commits

openmrs-core
Author Commit Message Commit date
teleivo <teleivo@users.noreply.github.com> teleivo <teleivo@users.noreply.github.com> 00a3747a41d41e2739fd011058933104f7527b06 00a3747a41d41e2739fd011058933104f7527b06 TRUNK-5816 Run StartModuleAnnotationTest
it was not run since all tests in the test folder are excluded from the
surefire plugin in the api

https://github.com/openmrs/openmrs-core/blob/d5585afd4142a3facb1d12340e0c4588f0db6565/api/pom.xml#L363-L367
Most likely so that the BaseContext...Test classes dont get picked up.
Not sure if they would actually run tough since they have no @Test
annoation. We can double check that.

Moving the test to the annotation package since there is already a
StartModuleAnnotation test
teleivo <teleivo@users.noreply.github.com> teleivo <teleivo@users.noreply.github.com> 117033748d6da65428b485c75952b26c5c8349ee 117033748d6da65428b485c75952b26c5c8349ee TRUNK-5816 Make StartModuleExecutionListener JUnit independent
so it can be reused in JUnit 4 and 5 BaseContextSensitiveTests

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 2
Status Test View job Duration
Collapse Failed StartModuleAnnotationTest shouldStartModules History
Build and Test < 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
Caused by: java.lang.IllegalStateException: Cache provider not started
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:
(8 more lines...)
Collapse Failed ModuleInteroperabilityTest shouldAllowModuleAToLoadModuleBIfARequiresB History
Build and Test < 1 sec
java.lang.NullPointerException

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-5816Could not obtain issue details from Jira