The Allergy API plan. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #44 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
23 seconds
Revision
df02c06a71cf192650a0ca639058cb5a13c4aab8 df02c06a71cf192650a0ca639058cb5a13c4aab8
Total tests
38
Fixed in
#45 (Code changes detected)

Tests

  • 38 tests in total
  • 13 tests failed
  • 13 failures are new
  • 14 seconds taken in total.
New test failures 13
Status Test Duration
Collapse Failed AllergyServiceTest getAllergies_shouldGetTheAllergyListAndStatus History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldSaveTheAllergyListAndStatus History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllAllergiesAndSetStatusToNoKnownAllergiesIfAllAllergiesAreRemovedAndStatusSetAsSuch History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllAllergiesAndSetStatusToUnknownIfAllAllergiesAreRemoved History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithAddedReactions History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedCodedAllergen History
10 secs
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedComment History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedNonCodedAllergen History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionCoded History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionNonCoded History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedSeverity History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithRemovedReactions History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidRemovedAllergiesAndMaintainStatusAsSeeListIfSomeAllergiesAreRemoved History
< 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)