HFE compatible with platform 2.0 up to 2.3.2

Build: #155 failed

Job: Test against 2.3 failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
1 minute
Revision
8191e1706b03fe8593f1243e31c4ad5b2e90782d 8191e1706b03fe8593f1243e31c4ad5b2e90782d
Total tests
49
Fixed in
#158 (Code changes detected)

Tests

  • 49 tests in total
  • 15 tests failed
  • 15 failures are new
  • 2 tests were quarantined / skipped
  • 10 seconds taken in total.
New test failures 15
Status Test Duration
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_WithMultipleDropdownsOnlySetsOneToDefault History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testDefaultValue History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testPlainTag History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testRemovingProviderFromEncounter History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testSpecifyingASingleProviderForTagThatAcceptsTwo History
4 secs
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testTagSpecifyingEncounterProviderTwiceWithDifferentRoles History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testTagSpecifyingEncounterProviderTwiceWithSameRole History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testTagWithRequiredAttribute History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:352)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:335)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.setupFormEntrySession(RegressionTestHelper.java:409)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:277)
(73 more lines...)
Collapse Failed EncounterProviderAndRoleTagTest encounterProviderAndRole_testTagWithRequiredAttribute_shouldThrowExceptionIfNoProvider History
< 1 sec
java.lang.Exception: Unexpected exception, expected<java.lang.AssertionError> but was<org.openmrs.api.APIException>
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:30)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
(77 more lines...)
Collapse Failed MetadataSharingExportTest testExportWithEncounterRoleAndProvider History
< 1 sec
java.lang.IllegalArgumentException: Unable to get dependencies for form
	at org.openmrs.module.htmlformentry.handler.OrderTagAttributeDescriptor.getDependencies(OrderTagAttributeDescriptor.java:201)
	at org.openmrs.module.htmlformentry.HtmlFormExporter.calculateDependencies(HtmlFormExporter.java:114)
	at org.openmrs.module.htmlformentry.HtmlFormExporter.export(HtmlFormExporter.java:328)
	at org.openmrs.module.htmlformentry.MetadataSharingExportTest.testExportWithEncounterRoleAndProvider(MetadataSharingExportTest.java:42)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(81 more lines...)
Collapse Failed DropdownWidgetTest generateHtml_shouldNotRenderInitialValueAsNewOptionIfAlreadyPresent History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:257)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.assertNotInitialValue(DropdownWidgetTest.java:167)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.generateHtml_shouldNotRenderInitialValueAsNewOptionIfAlreadyPresent(DropdownWidgetTest.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(71 more lines...)
Collapse Failed DropdownWidgetTest generateHtml_shouldRenderInitialValueAsOptionIfMissing History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:257)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.assertInitialValue(DropdownWidgetTest.java:150)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.generateHtml_shouldRenderInitialValueAsOptionIfMissing(DropdownWidgetTest.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(71 more lines...)
Collapse Failed DropdownWidgetTest testMultipleOptions History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:257)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.getContext(DropdownWidgetTest.java:24)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.testMultipleOptions(DropdownWidgetTest.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(71 more lines...)
Collapse Failed DropdownWidgetTest testMultipleOptionsWithGroupsAndClasses History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:257)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.getContext(DropdownWidgetTest.java:24)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.testMultipleOptionsWithGroupsAndClasses(DropdownWidgetTest.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(71 more lines...)
Collapse Failed DropdownWidgetTest testSingleOption History
< 1 sec
org.openmrs.api.APIException: service.error.during.getting.component
	at org.openmrs.api.context.ServiceContext.getRegisteredComponent(ServiceContext.java:901)
	at org.openmrs.api.context.Context.getRegisteredComponent(Context.java:1256)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:148)
	at org.openmrs.module.htmlformentry.FormEntrySession.<init>(FormEntrySession.java:257)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.getContext(DropdownWidgetTest.java:24)
	at org.openmrs.module.htmlformentry.widget.DropdownWidgetTest.testSingleOption(DropdownWidgetTest.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(71 more lines...)