Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #114 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
56 seconds
Revision
c69734b7d04f75bf0e0884d00bbadff667ce5ef8 c69734b7d04f75bf0e0884d00bbadff667ce5ef8
Total tests
27
Fixed in
#115 (Code changes detected)

Tests

  • 27 tests in total
  • 8 tests failed
  • 8 failures are new
  • 30 seconds taken in total.
New test failures 8
Status Test Duration
Collapse Failed EventTest subscribe_shouldSubscribeToEveryActionIfActionIsNull History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
(68 more lines...)
Collapse Failed EventTest unsetSubscription_shouldRemoveGivenSubscriptions History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name2' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(70 more lines...)
Collapse Failed EventTest unsubscribe_shouldUnsubscribeForEveryActionIfActionIsNull History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name2' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
(68 more lines...)
Collapse Failed EventTest unsubscribe_shouldUnsubscribeFromTheSpecifiedDestination History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name1' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
(68 more lines...)
Collapse Failed EventBehaviorTest shouldFireEventOnCreate History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
(69 more lines...)
Collapse Failed EventBehaviorTest shouldFireEventsOnNestedTransactions History
< 1 sec
org.openmrs.api.DuplicateConceptNameException: 'Name' is a duplicate name in locale 'en'
	at org.openmrs.validator.ConceptValidator.validate(ConceptValidator.java:166)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:369)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1248)
	at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
(98 more lines...)
Collapse Failed EventBehaviorTest shouldNotFireInnerEventOnInnerTransactionIfRollback History
< 1 sec
Wanted but not invoked:  Wanted but not invoked: eventEngine.fireAction("CREATED", ); -> at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireInnerEventOnInnerTransactionIfRollback(EventBehaviorTest.java:273) Actually, there were zero interactions with this mock. 
Wanted but not invoked:
eventEngine.fireAction("CREATED", );
-> at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireInnerEventOnInnerTransactionIfRollback(EventBehaviorTest.java:273)
Actually, there were zero interactions with this mock.

	at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireInnerEventOnInnerTransactionIfRollback(EventBehaviorTest.java:273)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
Collapse Failed EventBehaviorTest shouldNotFireOuterEventOnOuterTransactionIfRollback History
< 1 sec
Wanted but not invoked:  Wanted but not invoked: eventEngine.fireAction("UPDATED", Patient#2); -> at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireOuterEventOnOuterTransactionIfRollback(EventBehaviorTest.java:292) Actually, there were zero interactions with this mock. 
Wanted but not invoked:
eventEngine.fireAction("UPDATED", Patient#2);
-> at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireOuterEventOnOuterTransactionIfRollback(EventBehaviorTest.java:292)
Actually, there were zero interactions with this mock.

	at org.openmrs.module.event.advice.EventBehaviorTest.shouldNotFireOuterEventOnOuterTransactionIfRollback(EventBehaviorTest.java:292)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)