Build failed in Jenkins: Platform-Modules #1818

1 view
Skip to first unread message

Jenkins

unread,
Aug 26, 2016, 5:25:05 AM8/26/16
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/1818/changes>

Changes:

[jredlarski] MOTECH-2798: Added Bahmni Programe Enrollment data source lookup

------------------------------------------
[...truncated 14868 lines...]
"alerts":[
{
"window":"due",
"offset":["0 days"],
"interval":["1 Day"],
"count":"5"
}
]
},
{
"name":"milestone2",
"scheduleWindows":{
"earliest":["1 Weeks"],
"due":["2 Weeks"],
"late":["3 Weeks"],
"max":["4 weeks"]
},
"alerts":[
{
"window":"earliest",
"offset":["0 days"],
"interval":["1 Day"],
"count":"3"
}
]
}
]
}

2016-08-26 09:30:02,506 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Saving a schedule record with schedule name schedule.
2016-08-26 09:30:02,517 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-08-26 09:30:02,519 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Enrolling a enrollment record with externalID abcde and starting milestone milestone1.
2016-08-26 09:30:02,519 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding by Schedule Name schedule
2016-08-26 09:30:02,519 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Found Schedule schedule
2016-08-26 09:30:02,520 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Creating Enrollment for MileStone milestone1 for client with case id abcde
2016-08-26 09:30:02,520 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Verifying Milestone milestone1 is not expired.
2016-08-26 09:30:02,520 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding active enrollment for client with case id abcde and schedule name schedule
2016-08-26 09:30:02,521 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] No active enrollment with Milestone milestone1 found.
2016-08-26 09:30:02,521 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Persisting new enrollment.
2016-08-26 09:30:02,522 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Raising Enrolled User Event MotechEvent{id=null, subject='org.motechproject.scheduletracking.user.enrolled', redelivery-count=0, invalid=false, discarded=false, broadcast=false, destination='null', callbackName=null, metadata=null, parameters={reference_time=00:00, enrollment_time=00:00, preferred_alert_time=10:00, external_id=abcde, milestone_name=milestone1, reference_date=2050-05-10, schedule_name=schedule, enrollment_date=2050-05-10}}.
2016-08-26 09:30:02,522 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] For MileStone Window due scheduling a milestone alert with offset PT0S and interval P1D.
2016-08-26 09:30:02,523 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Scheduling repeatable Job to trigger Milestone Alert MotechEvent{id=null, subject='org.motechproject.scheduletracking.milestone.alert', redelivery-count=0, invalid=false, discarded=false, broadcast=false, destination='null', callbackName=null, metadata=null, parameters={milestone_data={}, defaultment_date_time=2050-05-25T00:00:00.000Z, window_name=due, earliest_date_time=2050-05-10T00:00:00.000Z, due_date_time=2050-05-15T00:00:00.000Z, milestone_name=milestone1, external_id=abcde, reference_date=2050-05-10T00:00:00.000Z, schedule_name=schedule, late_date_time=2050-05-20T00:00:00.000Z, JobID=73.0}} with Start Time 2050-05-15T10:00:00.000Z.
2016-08-26 09:30:02,531 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Scheduled repeatable Job to trigger Milestone Alert MotechEvent{id=null, subject='org.motechproject.scheduletracking.milestone.alert', redelivery-count=0, invalid=false, discarded=false, broadcast=false, destination='null', callbackName=null, metadata={}, parameters={milestone_data={}, defaultment_date_time=2050-05-25T00:00:00.000Z, window_name=due, earliest_date_time=2050-05-10T00:00:00.000Z, due_date_time=2050-05-15T00:00:00.000Z, milestone_name=milestone1, external_id=abcde, reference_date=2050-05-10T00:00:00.000Z, schedule_name=schedule, late_date_time=2050-05-20T00:00:00.000Z, JobID=73.0}} with Start Time 2050-05-15T10:00:00.000Z.
2016-08-26 09:30:02,531 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Scheduling job to trigger defaultment alert for enrollment with id 73
2016-08-26 09:30:02,547 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Fulfilling a milestone with enrollment id 73.
2016-08-26 09:30:02,547 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding by Schedule Name schedule
2016-08-26 09:30:02,548 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Fulfilling Milestone milestone1 for enrollment with id 73
2016-08-26 09:30:02,548 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Un scheduling both defaulted as well as milestone job for enrollment id 73.
2016-08-26 09:30:02,548 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Un-scheduling all jobs for enrollment 73
2016-08-26 09:30:02,556 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Un-scheduled all jobs for enrollment 73
2016-08-26 09:30:02,556 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Un-scheduling all jobs for enrollment 73
2016-08-26 09:30:02,562 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Un-scheduled all jobs for enrollment 73
2016-08-26 09:30:02,563 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Since there is a next milestone milestone2, scheduling defaulted and milestone job for enrollment (73).
2016-08-26 09:30:02,563 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] For MileStone Window earliest scheduling a milestone alert with offset PT0S and interval P1D.
2016-08-26 09:30:02,564 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Scheduling repeatable Job to trigger Milestone Alert MotechEvent{id=null, subject='org.motechproject.scheduletracking.milestone.alert', redelivery-count=0, invalid=false, discarded=false, broadcast=false, destination='null', callbackName=null, metadata=null, parameters={milestone_data={}, defaultment_date_time=2050-06-10T09:00:00.000Z, window_name=earliest, earliest_date_time=2050-05-20T09:00:00.000Z, due_date_time=2050-05-27T09:00:00.000Z, milestone_name=milestone2, external_id=abcde, reference_date=2050-05-10T00:00:00.000Z, schedule_name=schedule, late_date_time=2050-06-03T09:00:00.000Z, JobID=73.1}} with Start Time 2050-05-20T10:00:00.000Z.
2016-08-26 09:30:02,572 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Scheduled repeatable Job to trigger Milestone Alert MotechEvent{id=null, subject='org.motechproject.scheduletracking.milestone.alert', redelivery-count=0, invalid=false, discarded=false, broadcast=false, destination='null', callbackName=null, metadata={}, parameters={milestone_data={}, defaultment_date_time=2050-06-10T09:00:00.000Z, window_name=earliest, earliest_date_time=2050-05-20T09:00:00.000Z, due_date_time=2050-05-27T09:00:00.000Z, milestone_name=milestone2, external_id=abcde, reference_date=2050-05-10T00:00:00.000Z, schedule_name=schedule, late_date_time=2050-06-03T09:00:00.000Z, JobID=73.1}} with Start Time 2050-05-20T10:00:00.000Z.
2016-08-26 09:30:02,572 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Scheduling job to trigger defaultment alert for enrollment with id 73
2016-08-26 09:30:02,579 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Updating Enrollment with id 73.
2016-08-26 09:30:02,640 INFO [org.motechproject.testing.osgi.container.MotechNativeTestContainer] Waiting for org.motechproject.schedule-tracking
2016-08-26 09:30:02,641 INFO [org.motechproject.testing.osgi.container.MotechNativeTestContainer] Tested bundle contexts: [[org.springframework.web.context.ConfigurableWebApplicationContext, org.springframework.web.context.WebApplicationContext, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.ApplicationContext, org.springframework.beans.factory.ListableBeanFactory, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.context.MessageSource, org.springframework.context.ApplicationEventPublisher, org.springframework.core.io.support.ResourcePatternResolver, org.springframework.beans.factory.BeanFactory, org.springframework.core.io.ResourceLoader, org.springframework.context.Lifecycle, java.io.Closeable, java.lang.AutoCloseable, org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext, org.eclipse.gemini.blueprint.context.ConfigurableOsgiBundleApplicationContext, org.springframework.beans.factory.DisposableBean], [org.springframework.web.context.ConfigurableWebApplicationContext, org.springframework.web.context.WebApplicationContext, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.ApplicationContext, org.springframework.context.MessageSource, org.springframework.context.ApplicationEventPublisher, org.springframework.context.Lifecycle, java.io.Closeable, java.lang.AutoCloseable, org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext, org.eclipse.gemini.blueprint.context.ConfigurableOsgiBundleApplicationContext]]
2016-08-26 09:30:02,642 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Creating a schedule record from schedule json {name: ScheduleTrackingApiBundleIT-b0bd0cc5-83b0-42cf-bbb3-5cdb744a4548}
2016-08-26 09:30:02,644 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Saving a schedule record with schedule name ScheduleTrackingApiBundleIT-b0bd0cc5-83b0-42cf-bbb3-5cdb744a4548.
2016-08-26 09:30:02,648 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-08-26 09:30:02,650 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Deleting a schedule record with schedule name ScheduleTrackingApiBundleIT-b0bd0cc5-83b0-42cf-bbb3-5cdb744a4548.
2016-08-26 09:30:02,656 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-08-26 09:30:02,680 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-tasks
[INFO] Destroying Spring FrameworkServlet 'servlet_8'
2016-08-26 09:30:02,681 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-tasks
2016-08-26 09:30:02,684 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Tasks (org.motechproject.motech-tasks)
2016-08-26 09:30:02,684 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-tasks, config=META-INF/osgi/*.xml): startup date [Fri Aug 26 09:28:32 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-tasks, config=osgibundle:/META-INF/spring/*.xml)
2016-08-26 09:30:02,689 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Tasks (org.motechproject.motech-tasks)
2016-08-26 09:30:02,689 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-tasks, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:50 UTC 2016]; root of context hierarchy
2016-08-26 09:30:02,692 INFO [org.motechproject.tasks.osgi.ChannelServiceRegistrationListener] ChannelService unregistered
2016-08-26 09:30:03,772 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-08-26 09:30:05,448 INFO [org.motechproject.tasks.service.osgi.DataProviderManager] Removed data provider: data-services
2016-08-26 09:30:05,451 INFO [org.motechproject.tasks.service.impl.TaskDataProviderServiceImpl] A request to unregister the task data provider with name data-services has been received, but the provider with such name does not exist.
2016-08-26 09:30:05,452 INFO [org.motechproject.tasks.service.osgi.DataProviderManager] Removed data provider: data-services
2016-08-26 09:30:05,461 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-tasks finished
2016-08-26 09:30:05,470 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.schedule-tracking
[INFO] Destroying Spring FrameworkServlet 'servlet_6'
2016-08-26 09:30:05,471 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.schedule-tracking
2016-08-26 09:30:05,475 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle Schedule Tracking Modules (org.motechproject.schedule-tracking)
2016-08-26 09:30:05,475 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.schedule-tracking, config=META-INF/osgi/*.xml): startup date [Fri Aug 26 09:27:56 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.schedule-tracking, config=osgibundle:/META-INF/spring/*.xml)
2016-08-26 09:30:05,479 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle Schedule Tracking Modules (org.motechproject.schedule-tracking)
2016-08-26 09:30:05,479 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.schedule-tracking, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:50 UTC 2016]; root of context hierarchy
2016-08-26 09:30:05,487 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.schedule-tracking finished
2016-08-26 09:30:05,495 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-scheduler
[INFO] Destroying Spring FrameworkServlet 'servlet_4'
2016-08-26 09:30:05,495 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-scheduler
2016-08-26 09:30:05,497 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Scheduler (org.motechproject.motech-scheduler)
2016-08-26 09:30:05,498 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-scheduler, config=META-INF/osgi/*.xml): startup date [Fri Aug 26 09:27:55 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-scheduler, config=osgibundle:/META-INF/spring/*.xml)
2016-08-26 09:30:05,500 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Scheduler (org.motechproject.motech-scheduler)
2016-08-26 09:30:05,500 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-scheduler, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:50 UTC 2016]; root of context hierarchy
2016-08-26 09:30:05,734 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-scheduler finished
2016-08-26 09:30:05,759 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Server Config (org.motechproject.motech-platform-server-config)
2016-08-26 09:30:05,760 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-server-config, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:50 UTC 2016]; root of context hierarchy
2016-08-26 09:30:05,785 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-server-config finished
2016-08-26 09:30:05,789 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-dataservices
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
2016-08-26 09:30:05,790 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-dataservices
2016-08-26 09:30:05,795 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Data Services (org.motechproject.motech-platform-dataservices)
2016-08-26 09:30:05,795 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=META-INF/osgi/*.xml): startup date [Fri Aug 26 09:27:50 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml)
2016-08-26 09:30:05,797 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Data Services (org.motechproject.motech-platform-dataservices)
2016-08-26 09:30:05,797 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:13 UTC 2016]; root of context hierarchy
2016-08-26 09:30:06,724 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-dataservices finished
2016-08-26 09:30:06,726 INFO [org.motechproject.mds.osgi.EntitiesBundleMonitor] The entities bundle context has been unregistered
2016-08-26 09:30:06,729 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Data Services Entitites (org.motechproject.motech-platform-dataservices-entities)
2016-08-26 09:30:06,729 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices-entities, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:42 UTC 2016]; root of context hierarchy
2016-08-26 09:30:07,109 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-dataservices-entities finished
2016-08-26 09:30:07,111 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Event (org.motechproject.motech-platform-event)
2016-08-26 09:30:07,111 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-event, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:13 UTC 2016]; root of context hierarchy
2016-08-26 09:30:07,748 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-event finished
2016-08-26 09:30:07,750 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-osgi-web-util
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
2016-08-26 09:30:07,751 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-osgi-web-util
2016-08-26 09:30:07,751 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH OSGI Web Util (org.motechproject.motech-platform-osgi-web-util)
2016-08-26 09:30:07,751 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=META-INF/osgi/*.xml): startup date [Fri Aug 26 09:27:15 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=osgibundle:/META-INF/spring/*.xml)
2016-08-26 09:30:07,752 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH OSGI Web Util (org.motechproject.motech-platform-osgi-web-util)
2016-08-26 09:30:07,752 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:13 UTC 2016]; root of context hierarchy
2016-08-26 09:30:07,753 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-osgi-web-util finished
2016-08-26 09:30:07,755 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Commons SQL (org.motechproject.motech-platform-commons-sql)
2016-08-26 09:30:07,755 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-commons-sql, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:13 UTC 2016]; root of context hierarchy
2016-08-26 09:30:07,756 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-commons-sql finished
2016-08-26 09:30:07,758 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Core Config (org.motechproject.motech-platform-config-core)
2016-08-26 09:30:07,758 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-config-core, config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Aug 26 09:27:13 UTC 2016]; root of context hierarchy
2016-08-26 09:30:07,759 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-config-core finished
2016-08-26 09:30:07,853 INFO [org.motechproject.server.osgi.PlatformActivator] MOTECH Platform bundle stopped
Tests run: 43, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 179.335 sec <<< FAILURE! - in org.motechproject.scheduletracking.it.ScheduleTrackingIntegrationTests
testTaskChannelCreated(org.motechproject.scheduletracking.osgi.ScheduleTrackingTaskBundleIT) Time elapsed: 75.671 sec <<< ERROR!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.motechproject.tasks.service.TaskService
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.createTest(ContainerTestRunner.java:61)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:68)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
at org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:109)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:106)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


Results :

Tests in error:
ScheduleTrackingTaskBundleIT.testTaskChannelCreated ? ServiceLookup gave up wa...

Tests run: 43, Failures: 0, Errors: 1, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-package-cycles) @ schedule-tracking ---
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-Modules/ws/schedule-tracking/target/classes> for package cycles search.
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-Modules/ws/schedule-tracking/target/test-classes> for package cycles search.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ schedule-tracking ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/schedule-tracking/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH Modules .................................... SUCCESS [8.605s]
[INFO] Alerts Module ..................................... SUCCESS [39.612s]
[INFO] Appointments Module ............................... SUCCESS [40.624s]
[INFO] CMS Lite Module ................................... SUCCESS [39.144s]
[INFO] CommCare Module ................................... SUCCESS [2:41.489s]
[INFO] Event Logging Module .............................. SUCCESS [33.022s]
[INFO] Hindi Transliteration ............................. SUCCESS [6.946s]
[INFO] Http Agent Module ................................. SUCCESS [50.625s]
[INFO] mTraining Module .................................. SUCCESS [1:01.548s]
[INFO] SMS Module ........................................ SUCCESS [2:11.899s]
[INFO] MOTECH Message Campaign ........................... SUCCESS [1:42.989s]
[INFO] OpenMRS ........................................... SUCCESS [28.501s]
[INFO] Pill Reminder Module .............................. SUCCESS [1:02.564s]
[INFO] Schedule Tracking Modules ......................... FAILURE [3:10.246s]
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] DHIS2 module ...................................... SKIPPED
[INFO] Care Services Discovery ........................... SKIPPED
[INFO] Metrics ........................................... SKIPPED
[INFO] ODK Module ........................................ SKIPPED
[INFO] IHE Interop Module ................................ SKIPPED
[INFO] Atom Client ....................................... SKIPPED
[INFO] RapidPro Module ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:59.213s
[INFO] Finished at: Fri Aug 26 09:30:08 UTC 2016
[INFO] Final Memory: 85M/345M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project schedule-tracking: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Modules/ws/schedule-tracking/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :schedule-tracking
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Aug 26, 2016, 6:28:57 AM8/26/16
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages