Build failed in Jenkins: Platform-Modules #116

11 views
Skip to first unread message

Jenkins

unread,
Aug 26, 2014, 7:46:56 PM8/26/14
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/116/changes>

Changes:

[Frank Huster] MOTECH-633 - IVR

------------------------------------------
[...truncated 6788 lines...]
org.springframework.context.ApplicationContextException: Application context initialization for 'org.motechproject.motech-platform-server-config' has timed out waiting for (|(objectClass=org.motechproject.config.service.ModulePropertiesService)(objectClass=org.motechproject.server.config.service.SettingService))
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
2014-08-26 23:12:03,348 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-server-config], unsatisfied dependencies: Dependency on [(objectClass=org.motechproject.server.config.service.SettingService)] (from bean [&settingService]), Dependency on [(objectClass=org.motechproject.config.service.ModulePropertiesService)] (from bean [&modulePropertiesRecordService])
org.springframework.context.ApplicationContextException: Application context initialization for 'org.motechproject.motech-platform-server-config' has timed out waiting for (|(objectClass=org.motechproject.config.service.ModulePropertiesService)(objectClass=org.motechproject.server.config.service.SettingService))
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
2014-08-26 23:16:03,609 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-event, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Cannot create inner bean 'eventSettings$created#423ae3dc' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSettings$created#423ae3dc' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSettings$created#423ae3dc' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
... 21 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
... 26 more
Caused by: org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:404)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy65.getPlatformSettings(Unknown Source)
at org.motechproject.server.config.SettingsFacade.getPlatformSettings(SettingsFacade.java:365)
at org.motechproject.server.config.SettingsFacade.getActivemqConfig(SettingsFacade.java:373)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
... 27 more
2014-08-26 23:16:03,611 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-event], unsatisfied dependencies: none
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Cannot create inner bean 'eventSettings$created#423ae3dc' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSettings$created#423ae3dc' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSettings$created#423ae3dc' defined in OSGi resource[classpath:/META-INF/motech/activemqConnection.xml|bnd.id=122|bnd.sym=org.motechproject.motech-platform-event]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
... 21 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.util.Properties org.motechproject.server.config.SettingsFacade.getActivemqConfig()] threw exception; nested exception is org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
... 26 more
Caused by: org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=org.motechproject.config.service.ConfigurationService)] unavailable
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:404)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy65.getPlatformSettings(Unknown Source)
at org.motechproject.server.config.SettingsFacade.getPlatformSettings(SettingsFacade.java:365)
at org.motechproject.server.config.SettingsFacade.getActivemqConfig(SettingsFacade.java:373)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
... 27 more
Running org.motechproject.scheduletracking.osgi.ScheduleTrackingBundleIT
2014-08-26 23:46:26,114 WARN [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Forcing the (internally created) taskExecutor to stop...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.018 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithPreferredTimeIT
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 240.067 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.AllEnrollmentsIT
Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 720.331 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 300.088 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 300.086 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.EnrollmentsSearchIT
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 300.093 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 300.085 sec <<< FAILURE!
Running org.motechproject.scheduletracking.it.SchedulingWithPreferredTimeIT
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 240.069 sec <<< FAILURE!

Results :

Tests in error:
testScheduleTrackingService(org.motechproject.scheduletracking.osgi.ScheduleTrackingBundleIT): Framework not ready after 60000 ms
shouldFloatTheAlertsForDelayedEnrollmentInTheGivenSpaceLeft(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleSecondMilestoneAlertsForToday(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleFloatingAlertsAtPreferredAlertTime(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithPreferredTimeIT): Framework not ready after 60000 ms
shouldFloatTheAlertsForDelayedEnrollment(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithPreferredTimeIT): Framework not ready after 60000 ms
shouldFindenrollmentDataServiceThatMatchesGivenScheduleNames(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnEnrollmentsThatMatchGivenStatus(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnEnrollmentsThatWereCompletedDuringTheGivenTimeRange(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldCreateEnrollment(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldGetEnrollmentDataServiceWithSchedulePopulatedInThem(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldFindActiveEnrollmentByExternalIdAndScheduleNameWithSchedulePopulatedInThem(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldFindActiveEnrollmentByExternalIdAndScheduleName(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldConvertTheFulfillmentDateTimeIntoCorrectTimeZoneWhenRetrievingAnEnrollmentWithFulfilledMilestoneFromDatabase(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnTheMilestoneStartDateTimeInCorrectTimeZoneForFirstMilestone(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnTheMilestoneStartDateTimeInCorrectTimeZoneForSecondMilestone(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnTheMilestoneStartDateTimeInCorrectTimeZoneWhenEnrollingIntoSecondMilestone(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldReturnEnrollmentsThatMatchAGivenExternalId(org.motechproject.scheduletracking.it.AllEnrollmentsIT): Framework not ready after 60000 ms
shouldUpdateEnrollmentIfAnActiveEnrollmentAlreadyExists(org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT): Framework not ready after 60000 ms
fulfillMilestoneShouldBeIdempotent(org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT): Framework not ready after 60000 ms
shouldReturnScheduleFromDb(org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT): Framework not ready after 60000 ms
shouldNotReturnScheduleThatDoesNotExist(org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT): Framework not ready after 60000 ms
shouldReturnAllSchedules(org.motechproject.scheduletracking.it.ScheduleTrackingServiceIT): Framework not ready after 60000 ms
shouldScheduleFloatingAlertsAtReferenceTime(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldFloatTheAlertsForDelayedEnrollmentTriggeringAlertsAtReferenceTimeWhichIsBeforeNow(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldFloatTheAlertsForDelayedEnrollmentTriggeringAlertsAtReferenceTimeWhichIsAfterNow(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldFloatTheAlertsForDelayedEnrollmentInTheTimeLeftTriggeringThemAtReferenceTime(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleSecondMilestoneAlertsAtLastMilestoneFulfilmentTime(org.motechproject.scheduletracking.it.SchedulingFloatingAlertsWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldReturnExternalIdsOfActiveEnrollmentsThatHaveEnteredDueWindowDuringTheLastWeek(org.motechproject.scheduletracking.it.EnrollmentsSearchIT): Framework not ready after 60000 ms
shouldReturnExternalIdsOfActiveEnrollmentsThatAreCompletedDuringTheLastWeek(org.motechproject.scheduletracking.it.EnrollmentsSearchIT): Framework not ready after 60000 ms
forAGivenEntityShouldReturnAllSchedulesWithDatesWhoseDueDateFallsInTheLastWeek(org.motechproject.scheduletracking.it.EnrollmentsSearchIT): Framework not ready after 60000 ms
shouldFindEnrollmentsByMetadataProperties(org.motechproject.scheduletracking.it.EnrollmentsSearchIT): Framework not ready after 60000 ms
shouldReturnExternalIdsOfActiveEnrollmentsThatAreEitherInLateOrMaxWindowForAGivenSchedule(org.motechproject.scheduletracking.it.EnrollmentsSearchIT): Framework not ready after 60000 ms
shouldNotScheduleAlertsInThePastForDelayedEnrollment(org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldNotScheduleAlertForTheDayIfPreferredTimeIsPassed(org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleSecondMilestoneAlertsUsingLastFulfilTimeAsReferenceWhichIsBeforeNow(org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleSecondMilestoneAlertsUsingLastFulfilTimeAsReferenceWhichIsAfterNow(org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleAlertsAtReferenceTime(org.motechproject.scheduletracking.it.SchedulingWithoutPreferredTimeIT): Framework not ready after 60000 ms
shouldNotScheduleAlertsInThePastForDelayedEnrollment(org.motechproject.scheduletracking.it.SchedulingWithPreferredTimeIT): Framework not ready after 60000 ms
shouldNotScheduleAlertForTheDayIfPreferredTimeIsPassed(org.motechproject.scheduletracking.it.SchedulingWithPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleAlertsAtPreferredAlertTime(org.motechproject.scheduletracking.it.SchedulingWithPreferredTimeIT): Framework not ready after 60000 ms
shouldScheduleSecondMilestoneAlerts(org.motechproject.scheduletracking.it.SchedulingWithPreferredTimeIT): Framework not ready after 60000 ms

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ schedule-tracking ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.9: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.129s]
[INFO] Alerts Module ..................................... SUCCESS [49.769s]
[INFO] Appointments Module ............................... SUCCESS [37.968s]
[INFO] CMS Lite Module ................................... SUCCESS [42.987s]
[INFO] CommCare Module ................................... SUCCESS [1:52.151s]
[INFO] Event Logging Module .............................. SUCCESS [30.560s]
[INFO] Hindi Transliteration ............................. SUCCESS [5.232s]
[INFO] Http Agent Module ................................. SUCCESS [29.198s]
[INFO] mTraining Module .................................. SUCCESS [10.993s]
[INFO] SMS Module ........................................ SUCCESS [9.472s]
[INFO] MOTECH Message Campaign ........................... SUCCESS [5:45.305s]
[INFO] OpenMRS 1.9 ....................................... SUCCESS [18.870s]
[INFO] Pill Reminder Module .............................. SUCCESS [1:06.348s]
[INFO] Schedule Tracking Modules ......................... FAILURE [45:08.357s]
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57:56.603s
[INFO] Finished at: Tue Aug 26 23:46:26 UTC 2014
[INFO] Final Memory: 89M/323M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.9: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 27, 2014, 9:36:07 AM8/27/14
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/117/>

------------------------------------------
[...truncated 2411 lines...]
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
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)
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec - in org.motechproject.commcare.CommcareDataProviderTest
Running org.motechproject.commcare.gateway.CaseTaskXmlConverterTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 sec - in org.motechproject.commcare.gateway.CaseTaskXmlConverterTest
Running org.motechproject.commcare.domain.CaseResponseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.motechproject.commcare.domain.CaseResponseTest
Running org.motechproject.commcare.domain.FormValueElementTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec - in org.motechproject.commcare.domain.FormValueElementTest
Running org.motechproject.commcare.builder.CommcareFormBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.motechproject.commcare.builder.CommcareFormBuilderTest
Running org.motechproject.commcare.parser.FormAdapterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.motechproject.commcare.parser.FormAdapterTest
Running org.motechproject.commcare.parser.CaseParserTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec - in org.motechproject.commcare.parser.CaseParserTest
Running org.motechproject.commcare.client.CommCareAPIHttpClientTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec - in org.motechproject.commcare.client.CommCareAPIHttpClientTest
Running org.motechproject.commcare.util.CaseMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.motechproject.commcare.util.CaseMapperTest

Results :

Tests run: 85, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ commcare ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-bundles) @ commcare ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-test-config-files) @ commcare ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (drop-db) @ commcare ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ commcare ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (integration-test) @ commcare ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/commcare/target/failsafe-reports>
[INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider

-------------------------------------------------------
T E S T S
-------------------------------------------------------

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
ERROR: Bundle org.apache.felix.framework [0] EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
java.lang.NullPointerExceptionException in thread "FelixDispatchQueue" java.lang.ArrayIndexOutOfBoundsException: 6Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "FelixDispatchQueue"
2014-08-27 13:28:45,914 WARN [org.motechproject.server.osgi.PlatformActivator] Felix http bundle unavailable, http endpoints will not be active
[INFO] Started jetty 6.1.x at port(s) HTTP:8181
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [93]
2014-08-27 13:28:55,622 WARN [org.motechproject.osgi.web.UIServiceTracker] Bean moduleRegistrationData not found in org.motechproject.motech-platform-osgi-web-util
Aug 27, 2014 1:28:57 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motech_data_services`.`schema_version`
Aug 27, 2014 1:28:57 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: << Empty Schema >>
Aug 27, 2014 1:28:57 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 1
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 2
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 3
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 4
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 5
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 6
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 7
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 8
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 9
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 11
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 12
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 13
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 14
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 15
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 16
Aug 27, 2014 1:28:59 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 16 migrations to schema `motech_data_services` (execution time 00:02.699s).
2014-08-27 13:29:07,666 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract org.motechproject.commcare.domain.CommcareApplicationJson org.motechproject.commcare.service.CommcareApplicationDataService.byApplicationName(java.lang.String) names using paranamer
2014-08-27 13:29:07,707 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract org.motechproject.commcare.domain.CommcareApplicationJson org.motechproject.commcare.service.CommcareApplicationDataService.byApplicationName(java.lang.String) names using paranamer
2014-08-27 13:29:08,567 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByBundle(java.lang.String) names using paranamer
2014-08-27 13:29:08,588 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByBundle(java.lang.String) names using paranamer
2014-08-27 13:29:08,604 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByModuleAndFileName(java.lang.String,java.lang.String) names using paranamer
2014-08-27 13:29:08,636 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByModuleAndFileName(java.lang.String,java.lang.String) names using paranamer
2014-08-27 13:29:08,659 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByModule(java.lang.String) names using paranamer
2014-08-27 13:29:08,669 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.ModulePropertiesService.findByModule(java.lang.String) names using paranamer
2014-08-27 13:31:45,380 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [com.springsource.org.hamcrest [25]] is not resolved
2014-08-27 13:34:45,500 WARN [org.motechproject.bundle.extender.MotechOsgiConfigurableApplicationContext] Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Aug 27 13:28:50 UTC 2014]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:350)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1033)
at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:187)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:194)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:190)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:382)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:214)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:988)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.closeApplicationContext(LifecycleManager.java:316)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.access$200(LifecycleManager.java:54)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$3.run(LifecycleManager.java:364)
at org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:55)
at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:70)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
2014-08-27 13:35:35,507 ERROR [org.motechproject.mds.osgi.EntitiesBundleMonitor] Interrupted while waiting
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at org.motechproject.mds.osgi.EntitiesBundleMonitor.waitUntil(EntitiesBundleMonitor.java:359)
at org.motechproject.mds.osgi.EntitiesBundleMonitor.install(EntitiesBundleMonitor.java:261)
at org.motechproject.mds.osgi.EntitiesBundleMonitor.start(EntitiesBundleMonitor.java:183)
at org.motechproject.mds.service.impl.JarGeneratorServiceImpl.regenerateMdsDataBundle(JarGeneratorServiceImpl.java:141)
at org.motechproject.mds.service.impl.JarGeneratorServiceImpl.regenerateMdsDataBundle(JarGeneratorServiceImpl.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy50.regenerateMdsDataBundle(Unknown Source)
at org.motechproject.mds.osgi.MdsBundleWatcher.refreshBundles(MdsBundleWatcher.java:138)
at org.motechproject.mds.osgi.MdsBundleWatcher.processInstalledBundles(MdsBundleWatcher.java:62)
at org.motechproject.mds.osgi.MdsBundleWatcher.start(MdsBundleWatcher.java:42)
at org.motechproject.mds.MDSInitializer.initMDS(MDSInitializer.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)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
at java.lang.Thread.run(Thread.java:744)
Running org.motechproject.commcare.it.CommcareApplicationDataServiceIT
2014-08-27 13:34:55,499 ERROR [org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution] Closing runnable for context MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2014-08-27 13:35:05,501 ERROR [org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution] Closing runnable for context MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-osgi-web-util, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2014-08-27 13:35:15,502 ERROR [org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution] Closing runnable for context MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-commons-sql, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2014-08-27 13:35:25,502 ERROR [org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution] Closing runnable for context MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-config-core, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2014-08-27 13:35:35,506 WARN [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Forcing the (internally created) taskExecutor to stop...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 90.038 sec <<< FAILURE!
Running org.motechproject.commcare.it.CommcareBundleIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 90.021 sec <<< FAILURE!

Results :

Tests in error:
shouldSaveAndRetrieveCommcareApplications(org.motechproject.commcare.it.CommcareApplicationDataServiceIT): Framework not ready after 90000 ms
testSettingsController(org.motechproject.commcare.it.CommcareBundleIT): Framework not ready after 90000 ms

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ commcare ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:verify (verify) @ commcare ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/commcare/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 [12.820s]
[INFO] Alerts Module ..................................... SUCCESS [1:07.639s]
[INFO] Appointments Module ............................... SUCCESS [52.140s]
[INFO] CMS Lite Module ................................... SUCCESS [56.063s]
[INFO] CommCare Module ................................... FAILURE [7:10.341s]
[INFO] Event Logging Module .............................. SKIPPED
[INFO] Hindi Transliteration ............................. SKIPPED
[INFO] Http Agent Module ................................. SKIPPED
[INFO] mTraining Module .................................. SKIPPED
[INFO] SMS Module ........................................ SKIPPED
[INFO] MOTECH Message Campaign ........................... SKIPPED
[INFO] OpenMRS 1.9 ....................................... SKIPPED
[INFO] Pill Reminder Module .............................. SKIPPED
[INFO] Schedule Tracking Modules ......................... SKIPPED
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:21.752s
[INFO] Finished at: Wed Aug 27 13:35:35 UTC 2014
[INFO] Final Memory: 72M/272M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.9:verify (verify) on project commcare: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Modules/ws/commcare/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 :commcare

Jenkins

unread,
Aug 27, 2014, 10:21:56 AM8/27/14
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages