See <
http://ci.motechproject.org/job/Platform-Modules/1704/changes>
Changes:
[seb.brudzinski] MOTECH-2504: Improve logging of HTTP-Agent module (#327)
------------------------------------------
[...truncated 14845 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-07-12 13:21:40,507 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Saving a schedule record with schedule name schedule.
2016-07-12 13:21:40,517 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-07-12 13:21:40,522 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Enrolling a enrollment record with externalID abcde and starting milestone milestone1.
2016-07-12 13:21:40,522 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding by Schedule Name schedule
2016-07-12 13:21:40,522 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Found Schedule schedule
2016-07-12 13:21:40,523 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Creating Enrollment for MileStone milestone1 for client with case id abcde
2016-07-12 13:21:40,523 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Verifying Milestone milestone1 is not expired.
2016-07-12 13:21:40,523 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding active enrollment for client with case id abcde and schedule name schedule
2016-07-12 13:21:40,524 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] No active enrollment with Milestone milestone1 found.
2016-07-12 13:21:40,524 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Persisting new enrollment.
2016-07-12 13:21:40,526 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-07-12 13:21:40,526 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] For MileStone Window due scheduling a milestone alert with offset PT0S and interval P1D.
2016-07-12 13:21:40,526 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-07-12 13:21:40,537 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-07-12 13:21:40,538 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Scheduling job to trigger defaultment alert for enrollment with id 73
2016-07-12 13:21:40,553 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Fulfilling a milestone with enrollment id 73.
2016-07-12 13:21:40,553 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Finding by Schedule Name schedule
2016-07-12 13:21:40,554 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Fulfilling Milestone milestone1 for enrollment with id 73
2016-07-12 13:21:40,554 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Un scheduling both defaulted as well as milestone job for enrollment id 73.
2016-07-12 13:21:40,554 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Un-scheduling all jobs for enrollment 73
2016-07-12 13:21:40,560 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] Un-scheduled all jobs for enrollment 73
2016-07-12 13:21:40,560 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Un-scheduling all jobs for enrollment 73
2016-07-12 13:21:40,565 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Un-scheduled all jobs for enrollment 73
2016-07-12 13:21:40,566 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Since there is a next milestone milestone2, scheduling defaulted and milestone job for enrollment (73).
2016-07-12 13:21:40,566 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentAlertService] For MileStone Window earliest scheduling a milestone alert with offset PT0S and interval P1D.
2016-07-12 13:21:40,566 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-07-12 13:21:40,575 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-07-12 13:21:40,576 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentDefaultmentService] Scheduling job to trigger defaultment alert for enrollment with id 73
2016-07-12 13:21:40,584 INFO [org.motechproject.scheduletracking.service.impl.EnrollmentServiceImpl] Updating Enrollment with id 73.
2016-07-12 13:21:40,643 INFO [org.motechproject.testing.osgi.container.MotechNativeTestContainer] Waiting for org.motechproject.schedule-tracking
2016-07-12 13:21:40,643 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-07-12 13:21:40,645 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Creating a schedule record from schedule json {name: ScheduleTrackingApiBundleIT-a0206b60-7752-4860-9908-6b5b7eb3890e}
2016-07-12 13:21:40,647 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Saving a schedule record with schedule name ScheduleTrackingApiBundleIT-a0206b60-7752-4860-9908-6b5b7eb3890e.
2016-07-12 13:21:40,651 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-07-12 13:21:40,653 INFO [org.motechproject.scheduletracking.service.impl.ScheduleTrackingServiceImpl] Deleting a schedule record with schedule name ScheduleTrackingApiBundleIT-a0206b60-7752-4860-9908-6b5b7eb3890e.
2016-07-12 13:21:40,659 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-07-12 13:21:40,685 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-tasks
[INFO] Destroying Spring FrameworkServlet 'servlet_8'
2016-07-12 13:21:40,689 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-tasks
2016-07-12 13:21:40,690 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Tasks (org.motechproject.motech-tasks)
2016-07-12 13:21:40,690 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-tasks, config=META-INF/osgi/*.xml): startup date [Tue Jul 12 13:20:12 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-tasks, config=osgibundle:/META-INF/spring/*.xml)
2016-07-12 13:21:40,691 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Tasks (org.motechproject.motech-tasks)
2016-07-12 13:21:40,692 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-tasks, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:19:33 UTC 2016]; root of context hierarchy
2016-07-12 13:21:40,696 INFO [org.motechproject.tasks.osgi.ChannelServiceRegistrationListener] ChannelService unregistered
2016-07-12 13:21:41,665 INFO [org.motechproject.event.listener.starter.EventConsumerStarter] ActiveMQ outbound channels started.
2016-07-12 13:21:42,859 INFO [org.motechproject.tasks.service.osgi.DataProviderManager] Removed data provider: data-services
2016-07-12 13:21:42,862 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-07-12 13:21:42,863 INFO [org.motechproject.tasks.service.osgi.DataProviderManager] Removed data provider: data-services
2016-07-12 13:21:42,865 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-tasks finished
2016-07-12 13:21:42,871 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.schedule-tracking
[INFO] Destroying Spring FrameworkServlet 'servlet_6'
2016-07-12 13:21:42,874 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.schedule-tracking
2016-07-12 13:21:42,874 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle Schedule Tracking Modules (org.motechproject.schedule-tracking)
2016-07-12 13:21:42,874 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.schedule-tracking, config=META-INF/osgi/*.xml): startup date [Tue Jul 12 13:19:38 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.schedule-tracking, config=osgibundle:/META-INF/spring/*.xml)
2016-07-12 13:21:42,875 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle Schedule Tracking Modules (org.motechproject.schedule-tracking)
2016-07-12 13:21:42,875 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.schedule-tracking, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:19:33 UTC 2016]; root of context hierarchy
2016-07-12 13:21:42,881 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.schedule-tracking finished
2016-07-12 13:21:42,885 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-scheduler
[INFO] Destroying Spring FrameworkServlet 'servlet_4'
2016-07-12 13:21:42,887 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-scheduler
2016-07-12 13:21:42,888 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Scheduler (org.motechproject.motech-scheduler)
2016-07-12 13:21:42,888 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-scheduler, config=META-INF/osgi/*.xml): startup date [Tue Jul 12 13:19:38 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-scheduler, config=osgibundle:/META-INF/spring/*.xml)
2016-07-12 13:21:42,888 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Scheduler (org.motechproject.motech-scheduler)
2016-07-12 13:21:42,888 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-scheduler, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:19:33 UTC 2016]; root of context hierarchy
2016-07-12 13:21:43,021 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-scheduler finished
2016-07-12 13:21:43,035 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Server Config (org.motechproject.motech-platform-server-config)
2016-07-12 13:21:43,035 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-server-config, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:19:33 UTC 2016]; root of context hierarchy
2016-07-12 13:21:43,037 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-server-config finished
2016-07-12 13:21:43,040 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-dataservices
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
2016-07-12 13:21:43,041 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-dataservices
2016-07-12 13:21:43,041 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Data Services (org.motechproject.motech-platform-dataservices)
2016-07-12 13:21:43,041 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=META-INF/osgi/*.xml): startup date [Tue Jul 12 13:19:33 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml)
2016-07-12 13:21:43,042 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Data Services (org.motechproject.motech-platform-dataservices)
2016-07-12 13:21:43,042 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:18:56 UTC 2016]; root of context hierarchy
2016-07-12 13:21:43,811 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-dataservices finished
2016-07-12 13:21:43,815 INFO [org.motechproject.mds.osgi.EntitiesBundleMonitor] The entities bundle context has been unregistered
2016-07-12 13:21:43,817 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-07-12 13:21:43,817 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices-entities, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:19:27 UTC 2016]; root of context hierarchy
2016-07-12 13:21:44,157 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-dataservices-entities finished
2016-07-12 13:21:44,164 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Event (org.motechproject.motech-platform-event)
2016-07-12 13:21:44,164 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-event, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:18:56 UTC 2016]; root of context hierarchy
2016-07-12 13:21:44,817 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-event finished
2016-07-12 13:21:44,818 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-osgi-web-util
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
2016-07-12 13:21:44,819 INFO [org.motechproject.osgi.web.tracker.impl.BlueprintApplicationContextTracker] Removed service org.motechproject.motech-platform-osgi-web-util
2016-07-12 13:21:44,819 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-07-12 13:21:44,820 INFO [org.motechproject.osgi.web.MotechOSGiWebApplicationContext] Closing MotechOSGiWebApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=META-INF/osgi/*.xml): startup date [Tue Jul 12 13:18:59 UTC 2016]; parent: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=osgibundle:/META-INF/spring/*.xml)
2016-07-12 13:21:44,820 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-07-12 13:21:44,820 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:18:56 UTC 2016]; root of context hierarchy
2016-07-12 13:21:44,821 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-osgi-web-util finished
2016-07-12 13:21:44,826 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Platform Commons SQL (org.motechproject.motech-platform-commons-sql)
2016-07-12 13:21:44,826 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-commons-sql, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:18:56 UTC 2016]; root of context hierarchy
2016-07-12 13:21:44,826 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-commons-sql finished
2016-07-12 13:21:44,832 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Unpublishing application context OSGi service for bundle MOTECH Core Config (org.motechproject.motech-platform-config-core)
2016-07-12 13:21:44,832 INFO [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Closing MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-config-core, config=osgibundle:/META-INF/spring/*.xml): startup date [Tue Jul 12 13:18:56 UTC 2016]; root of context hierarchy
2016-07-12 13:21:44,833 INFO [org.motechproject.server.osgi.status.PlatformStatusManagerImpl] org.motechproject.motech-platform-config-core finished
2016-07-12 13:21:44,862 INFO [org.motechproject.server.osgi.PlatformActivator] MOTECH Platform bundle stopped
Tests run: 43, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 173.94 sec <<< FAILURE! - in org.motechproject.scheduletracking.it.ScheduleTrackingIntegrationTests
testTaskTriggers(org.motechproject.scheduletracking.osgi.ScheduleTrackingTaskBundleIT) Time elapsed: 74.464 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.testTaskTriggers ? ServiceLookup gave up waiting ...
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 [11.542s]
[INFO] Alerts Module ..................................... SUCCESS [43.514s]
[INFO] Appointments Module ............................... SUCCESS [39.934s]
[INFO] CMS Lite Module ................................... SUCCESS [32.581s]
[INFO] CommCare Module ................................... SUCCESS [2:18.356s]
[INFO] Event Logging Module .............................. SUCCESS [45.383s]
[INFO] Hindi Transliteration ............................. SUCCESS [6.213s]
[INFO] Http Agent Module ................................. SUCCESS [43.401s]
[INFO] mTraining Module .................................. SUCCESS [1:02.767s]
[INFO] SMS Module ........................................ SUCCESS [2:03.972s]
[INFO] MOTECH Message Campaign ........................... SUCCESS [1:39.172s]
[INFO] OpenMRS ........................................... SUCCESS [16.276s]
[INFO] Pill Reminder Module .............................. SUCCESS [1:12.488s]
[INFO] Schedule Tracking Modules ......................... FAILURE [3:03.297s]
[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:20.346s
[INFO] Finished at: Tue Jul 12 13:21:45 UTC 2016
[INFO] Final Memory: 85M/372M
[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