HFE compatible with platform 2.0 up to 2.3.2

Build: #156 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
59 seconds
Revision
8191e1706b03fe8593f1243e31c4ad5b2e90782d 8191e1706b03fe8593f1243e31c4ad5b2e90782d
Total tests
49
Failing since
#155 (Code changes detected – )
Fixed in
#158 (Code changes detected)

Tests

  • 49 tests in total
  • 15 tests failed
  • 2 tests were quarantined / skipped
  • 10 seconds taken in total.
Existing test failures 15
Status Test Failing since Duration
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)
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...)