Build failed in Jenkins: Platform-MRS #259

0 views
Skip to first unread message

Jenkins

unread,
Nov 29, 2013, 2:47:37 AM11/29/13
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-MRS/259/>

------------------------------------------
[...truncated 8098 lines...]
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (drop DB => motech-appointments) @ motech-appointments-api ---
[INFO] Executing tasks

main:
[exec] {"ok":true}
[INFO] Executed tasks
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (integration-test) @ motech-appointments-api ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-MRS/ws/modules/appointments/api/target/failsafe-reports>
[INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.appointments.api.it.VisitsQueryServiceIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.053 sec
Running org.motechproject.appointments.api.it.AllAppointmentCalendarsIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec

Results :

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

[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (integration-test-osgi) @ motech-appointments-api ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-MRS/ws/modules/appointments/api/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
Running org.motechproject.appointments.api.osgi.AppointmentsTaskBundleIT
Nov 28, 2013 11:45:29 PM org.motechproject.testing.osgi.BaseOsgiIT getTestFrameworkBundlesNames
INFO: Framework Bundles: [org.springframework,org.springframework.asm,3.1.0.RELEASE, org.springframework,org.springframework.beans,3.1.0.RELEASE, org.springframework,org.springframework.core,3.1.0.RELEASE, org.springframework,org.springframework.context,3.1.0.RELEASE, org.springframework,org.springframework.expression,3.1.0.RELEASE, org.springframework,org.springframework.aop,3.1.0.RELEASE, org.springframework,org.springframework.test,3.1.0.RELEASE]
Nov 28, 2013 11:45:29 PM org.motechproject.testing.osgi.BaseOsgiIT getTestFrameworkBundlesNames
INFO: Framework Bundles: [org.springframework,org.springframework.asm,3.1.0.RELEASE, org.springframework,org.springframework.beans,3.1.0.RELEASE, org.springframework,org.springframework.core,3.1.0.RELEASE, org.springframework,org.springframework.context,3.1.0.RELEASE, org.springframework,org.springframework.expression,3.1.0.RELEASE, org.springframework,org.springframework.aop,3.1.0.RELEASE, org.springframework,org.springframework.test,3.1.0.RELEASE]
Nov 28, 2013 11:45:29 PM org.motechproject.testing.osgi.BaseOsgiIT getTestBundlesNames
INFO: Test bundles :{cglib,cglib-nodep,2.2, com.google.code.gson,org.motechproject.com.google.code.gson,1.7.1-r021, com.googlecode.lambdaj,lambdaj,2.3.3, com.googlecode.lambdaj,org.motechproject.com.googlecode.lambdaj,2.3.3-r021, com.mchange.c3p0,com.springsource.com.mchange.v2.c3p0,0.9.1, com.mysql.jdbc,com.springsource.com.mysql.jdbc,5.1.6, javax.activation,com.springsource.javax.activation,1.1.1, javax.ejb,com.springsource.javax.ejb,3.0.0, javax.jms,com.springsource.javax.jms,1.1.0, javax.servlet,com.springsource.javax.servlet,2.5.0, javax.servlet,servlet-api,2.5, javax.transaction,com.springsource.javax.transaction,1.1.0, javax.xml.rpc,com.springsource.javax.xml.rpc,1.1.0, javax.xml.soap,com.springsource.javax.xml.soap,1.3.0, joda-time,joda-time,2.0, junit,junit,4.8.2, net.sourceforge.cglib,com.springsource.net.sf.cglib,2.2.0, org.aopalliance,com.springsource.org.aopalliance,1.0.0, org.apache.activemq,kahadb,5.4.2, org.apache.activemq,org.motechproject.org.apache.activemq,5.4.2-r021, org.apache.commons,com.springsource.org.apache.commons.beanutils,1.8.3, org.apache.commons,com.springsource.org.apache.commons.codec,1.4.0, org.apache.commons,com.springsource.org.apache.commons.collections,3.2.1, org.apache.commons,com.springsource.org.apache.commons.fileupload,1.2.1, org.apache.commons,com.springsource.org.apache.commons.io,1.4.0, org.apache.commons,com.springsource.org.apache.commons.lang,2.6.0, org.apache.commons,com.springsource.org.apache.commons.logging,1.1.1, org.apache.commons,com.springsource.org.apache.commons.vfs,1.0.0, org.apache.commons,org.motechproject.org.apache.commons.configuration,1.8-r022, org.apache.felix,org.apache.felix.eventadmin,1.3.2, org.apache.felix,org.apache.felix.http.api,2.0.4, org.apache.felix,org.apache.felix.http.base,2.0.4, org.apache.felix,org.apache.felix.http.jetty,2.0.4, org.apache.felix,org.apache.felix.main,3.2.0, org.apache.geronimo.specs,com.springsource.javax.management.j2ee,1.0.1, org.apache.httpcomponents,com.springsource.org.apache.httpcomponents.httpclient,4.1.1, org.apache.httpcomponents,com.springsource.org.apache.httpcomponents.httpcore,4.1.1, org.apache.log4j,com.springsource.org.apache.log4j,1.2.16, org.aspectj,com.springsource.org.aspectj.runtime,1.6.8.RELEASE, org.aspectj,com.springsource.org.aspectj.weaver,1.6.12.RELEASE, org.codehaus.jackson,org.motechproject.org.codehaus.jackson,1.9.7-r021, org.eclipse.gemini,org.eclipse.gemini.blueprint.core,1.0.2.RELEASE, org.eclipse.gemini,org.eclipse.gemini.blueprint.extender,1.0.2.RELEASE, org.eclipse.gemini,org.eclipse.gemini.blueprint.io,1.0.2.RELEASE, org.eclipse.gemini.blueprint,org.motechproject.gemini-blueprint-mock,1.0.2.RELEASE, org.eclipse.gemini.blueprint,org.motechproject.gemini-blueprint-test,1.0.2.RELEASE, org.eclipse.osgi,org.eclipse.osgi.services,3.3.0.v20110513, org.ektorp,org.motechproject.org.ektorp,1.3.0-r021, org.hamcrest,com.springsource.org.hamcrest,1.1.0, org.hamcrest,com.springsource.org.hamcrest.core,1.1.0, org.hamcrest,hamcrest-all,1.1, org.javassist,javassist,3.14.0-GA, org.junit,org.motechproject.org.junit,4.9-r021, org.mockito,com.springsource.org.mockito,1.8.4, org.mockito,mockito-all,1.8.5, org.mortbay.jetty,com.springsource.org.mortbay.jetty.server,6.1.9, org.mortbay.jetty,com.springsource.org.mortbay.util,6.1.9, org.mortbay.jetty,jetty,6.1.21, org.mortbay.jetty,jetty-sslengine,6.1.21, org.mortbay.jetty,jetty-util,6.1.21, org.mortbay.jetty,servlet-api,2.5-20081211, org.motechproject,org.motechproject.osgi.it,1.0.2.RELEASE-r014, org.motechproject,quartz-couchdb-store,0.9.4, org.motechproject,quartz-couchdb-store-bundle,0.9.4-r021, org.objectweb.asm,com.springsource.org.objectweb.asm,2.2.3, org.objectweb.howl,com.springsource.org.objectweb.howl,1.0.2, org.objenesis,com.springsource.org.objenesis,1.2.0, org.objenesis,objenesis,1.2, org.osgi,org.osgi.compendium,4.2.0, org.osgi,org.osgi.core,4.2.0, org.postgresql,org.motechproject.org.postgresql,9.1-901.jdbc4-r021, org.powermock,powermock-api-mockito,1.4.9, org.powermock,powermock-api-support,1.4.9, org.powermock,powermock-core,1.4.9, org.powermock,powermock-module-junit4,1.4.9, org.powermock,powermock-module-junit4-common,1.4.9, org.powermock,powermock-reflect,1.4.9, org.quartz-scheduler,org.motechproject.org.quartz-scheduler,2.1.5-r021, org.slf4j,com.springsource.slf4j.api,1.6.1, org.slf4j,com.springsource.slf4j.log4j,1.6.1, org.slf4j,com.springsource.slf4j.org.apache.commons.logging,1.6.1, org.springframework,org.springframework.context.support,3.1.0.RELEASE, org.springframework,org.springframework.jms,3.1.0.RELEASE, org.springframework,org.springframework.transaction,3.1.0.RELEASE, org.springframework,org.springframework.web,3.1.0.RELEASE, org.springframework,org.springframework.web.servlet,3.1.0.RELEASE, org.springframework.integration,spring-integration-core,2.1.0.RELEASE, org.springframework.integration,spring-integration-jms,2.1.0.RELEASE, postgresql,postgresql,9.1-901.jdbc4, org.motechproject,motech-platform-commons-api,0.22-SNAPSHOT, org.motechproject,motech-platform-commons-couchdb,0.22-SNAPSHOT, org.motechproject,motech-platform-commons-date,0.22-SNAPSHOT, org.motechproject,motech-platform-config-core,0.22-SNAPSHOT, org.motechproject,motech-platform-event,0.22-SNAPSHOT, org.motechproject,motech-platform-osgi-extender-fragment,0.22-SNAPSHOT, org.motechproject,motech-platform-osgi-web-util,0.22-SNAPSHOT, org.motechproject,motech-platform-server-api,0.22-SNAPSHOT, org.motechproject,motech-platform-server-config,0.22-SNAPSHOT, org.motechproject,motech-c3p0-fragment-bundle,0.16-r021, org.motechproject,motech-scheduler,0.22-SNAPSHOT, org.motechproject,motech-tasks,0.22-SNAPSHOT, org.motechproject,motech-tasks-bundle,0.22-SNAPSHOT, org.motechproject,motech-tasks-test-utils,0.22-SNAPSHOT, org.motechproject,motech-testing-utils,0.22-SNAPSHOT}
[INFO] Started jetty 6.1.x at port 8282
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [103]
2013-11-28 23:45:37,429 WARN [org.motechproject.osgi.web.UIServiceTracker] bean moduleRegistrationData not found
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initialized servlet for org.motechproject.motech-tasks-bundle [109]
[INFO] Initializing Spring FrameworkServlet 'servlet_5'
[INFO] Initialized servlet for org.motechproject.motech-appointments-api [112]
[INFO] Initializing Spring FrameworkServlet 'servlet_6'
[INFO] Initialized servlet for org.motechproject.motech-scheduler [107]
Nov 28, 2013 11:45:41 PM org.motechproject.testing.osgi.BaseOsgiIT testOsgiPlatformStarts
INFO: Apache Software Foundation
Nov 28, 2013 11:45:41 PM org.motechproject.testing.osgi.BaseOsgiIT testOsgiPlatformStarts
INFO: 1.5
Nov 28, 2013 11:45:41 PM org.motechproject.testing.osgi.BaseOsgiIT testOsgiPlatformStarts
INFO: JavaSE-1.6,JavaSE-1.7,J2SE-1.5,J2SE-1.4,J2SE-1.3, OSGi/Minimum-1.2,OSGi/Minimum-1.1,OSGi/Minimum-1.0
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.92 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.appointments.api.osgi.AppointmentsApiBundleIT
Nov 28, 2013 11:45:43 PM org.motechproject.testing.osgi.BaseOsgiIT getTestFrameworkBundlesNames
INFO: Framework Bundles: [org.springframework,org.springframework.asm,3.1.0.RELEASE, org.springframework,org.springframework.beans,3.1.0.RELEASE, org.springframework,org.springframework.core,3.1.0.RELEASE, org.springframework,org.springframework.context,3.1.0.RELEASE, org.springframework,org.springframework.expression,3.1.0.RELEASE, org.springframework,org.springframework.aop,3.1.0.RELEASE, org.springframework,org.springframework.test,3.1.0.RELEASE]
Nov 28, 2013 11:45:43 PM org.motechproject.testing.osgi.BaseOsgiIT getTestFrameworkBundlesNames
INFO: Framework Bundles: [org.springframework,org.springframework.asm,3.1.0.RELEASE, org.springframework,org.springframework.beans,3.1.0.RELEASE, org.springframework,org.springframework.core,3.1.0.RELEASE, org.springframework,org.springframework.context,3.1.0.RELEASE, org.springframework,org.springframework.expression,3.1.0.RELEASE, org.springframework,org.springframework.aop,3.1.0.RELEASE, org.springframework,org.springframework.test,3.1.0.RELEASE]
Nov 28, 2013 11:45:43 PM org.motechproject.testing.osgi.BaseOsgiIT getTestBundlesNames
INFO: Test bundles :{cglib,cglib-nodep,2.2, com.google.code.gson,org.motechproject.com.google.code.gson,1.7.1-r021, com.googlecode.lambdaj,lambdaj,2.3.3, com.googlecode.lambdaj,org.motechproject.com.googlecode.lambdaj,2.3.3-r021, com.mchange.c3p0,com.springsource.com.mchange.v2.c3p0,0.9.1, com.mysql.jdbc,com.springsource.com.mysql.jdbc,5.1.6, javax.activation,com.springsource.javax.activation,1.1.1, javax.ejb,com.springsource.javax.ejb,3.0.0, javax.jms,com.springsource.javax.jms,1.1.0, javax.servlet,com.springsource.javax.servlet,2.5.0, javax.servlet,servlet-api,2.5, javax.transaction,com.springsource.javax.transaction,1.1.0, javax.xml.rpc,com.springsource.javax.xml.rpc,1.1.0, javax.xml.soap,com.springsource.javax.xml.soap,1.3.0, joda-time,joda-time,2.0, junit,junit,4.8.2, net.sourceforge.cglib,com.springsource.net.sf.cglib,2.2.0, org.aopalliance,com.springsource.org.aopalliance,1.0.0, org.apache.activemq,kahadb,5.4.2, org.apache.activemq,org.motechproject.org.apache.activemq,5.4.2-r021, org.apache.commons,com.springsource.org.apache.commons.beanutils,1.8.3, org.apache.commons,com.springsource.org.apache.commons.codec,1.4.0, org.apache.commons,com.springsource.org.apache.commons.collections,3.2.1, org.apache.commons,com.springsource.org.apache.commons.fileupload,1.2.1, org.apache.commons,com.springsource.org.apache.commons.io,1.4.0, org.apache.commons,com.springsource.org.apache.commons.lang,2.6.0, org.apache.commons,com.springsource.org.apache.commons.logging,1.1.1, org.apache.commons,com.springsource.org.apache.commons.vfs,1.0.0, org.apache.commons,org.motechproject.org.apache.commons.configuration,1.8-r022, org.apache.felix,org.apache.felix.eventadmin,1.3.2, org.apache.felix,org.apache.felix.http.api,2.0.4, org.apache.felix,org.apache.felix.http.base,2.0.4, org.apache.felix,org.apache.felix.http.jetty,2.0.4, org.apache.felix,org.apache.felix.main,3.2.0, org.apache.geronimo.specs,com.springsource.javax.management.j2ee,1.0.1, org.apache.httpcomponents,com.springsource.org.apache.httpcomponents.httpclient,4.1.1, org.apache.httpcomponents,com.springsource.org.apache.httpcomponents.httpcore,4.1.1, org.apache.log4j,com.springsource.org.apache.log4j,1.2.16, org.aspectj,com.springsource.org.aspectj.runtime,1.6.8.RELEASE, org.aspectj,com.springsource.org.aspectj.weaver,1.6.12.RELEASE, org.codehaus.jackson,org.motechproject.org.codehaus.jackson,1.9.7-r021, org.eclipse.gemini,org.eclipse.gemini.blueprint.core,1.0.2.RELEASE, org.eclipse.gemini,org.eclipse.gemini.blueprint.extender,1.0.2.RELEASE, org.eclipse.gemini,org.eclipse.gemini.blueprint.io,1.0.2.RELEASE, org.eclipse.gemini.blueprint,org.motechproject.gemini-blueprint-mock,1.0.2.RELEASE, org.eclipse.gemini.blueprint,org.motechproject.gemini-blueprint-test,1.0.2.RELEASE, org.eclipse.osgi,org.eclipse.osgi.services,3.3.0.v20110513, org.ektorp,org.motechproject.org.ektorp,1.3.0-r021, org.hamcrest,com.springsource.org.hamcrest,1.1.0, org.hamcrest,com.springsource.org.hamcrest.core,1.1.0, org.hamcrest,hamcrest-all,1.1, org.javassist,javassist,3.14.0-GA, org.junit,org.motechproject.org.junit,4.9-r021, org.mockito,com.springsource.org.mockito,1.8.4, org.mockito,mockito-all,1.8.5, org.mortbay.jetty,com.springsource.org.mortbay.jetty.server,6.1.9, org.mortbay.jetty,com.springsource.org.mortbay.util,6.1.9, org.mortbay.jetty,jetty,6.1.21, org.mortbay.jetty,jetty-sslengine,6.1.21, org.mortbay.jetty,jetty-util,6.1.21, org.mortbay.jetty,servlet-api,2.5-20081211, org.motechproject,org.motechproject.osgi.it,1.0.2.RELEASE-r014, org.motechproject,quartz-couchdb-store,0.9.4, org.motechproject,quartz-couchdb-store-bundle,0.9.4-r021, org.objectweb.asm,com.springsource.org.objectweb.asm,2.2.3, org.objectweb.howl,com.springsource.org.objectweb.howl,1.0.2, org.objenesis,com.springsource.org.objenesis,1.2.0, org.objenesis,objenesis,1.2, org.osgi,org.osgi.compendium,4.2.0, org.osgi,org.osgi.core,4.2.0, org.postgresql,org.motechproject.org.postgresql,9.1-901.jdbc4-r021, org.powermock,powermock-api-mockito,1.4.9, org.powermock,powermock-api-support,1.4.9, org.powermock,powermock-core,1.4.9, org.powermock,powermock-module-junit4,1.4.9, org.powermock,powermock-module-junit4-common,1.4.9, org.powermock,powermock-reflect,1.4.9, org.quartz-scheduler,org.motechproject.org.quartz-scheduler,2.1.5-r021, org.slf4j,com.springsource.slf4j.api,1.6.1, org.slf4j,com.springsource.slf4j.log4j,1.6.1, org.slf4j,com.springsource.slf4j.org.apache.commons.logging,1.6.1, org.springframework,org.springframework.context.support,3.1.0.RELEASE, org.springframework,org.springframework.jms,3.1.0.RELEASE, org.springframework,org.springframework.transaction,3.1.0.RELEASE, org.springframework,org.springframework.web,3.1.0.RELEASE, org.springframework,org.springframework.web.servlet,3.1.0.RELEASE, org.springframework.integration,spring-integration-core,2.1.0.RELEASE, org.springframework.integration,spring-integration-jms,2.1.0.RELEASE, postgresql,postgresql,9.1-901.jdbc4, org.motechproject,motech-platform-commons-api,0.22-SNAPSHOT, org.motechproject,motech-platform-commons-couchdb,0.22-SNAPSHOT, org.motechproject,motech-platform-commons-date,0.22-SNAPSHOT, org.motechproject,motech-platform-config-core,0.22-SNAPSHOT, org.motechproject,motech-platform-event,0.22-SNAPSHOT, org.motechproject,motech-platform-osgi-extender-fragment,0.22-SNAPSHOT, org.motechproject,motech-platform-osgi-web-util,0.22-SNAPSHOT, org.motechproject,motech-platform-server-api,0.22-SNAPSHOT, org.motechproject,motech-platform-server-config,0.22-SNAPSHOT, org.motechproject,motech-c3p0-fragment-bundle,0.16-r021, org.motechproject,motech-scheduler,0.22-SNAPSHOT, org.motechproject,motech-tasks,0.22-SNAPSHOT, org.motechproject,motech-tasks-bundle,0.22-SNAPSHOT, org.motechproject,motech-tasks-test-utils,0.22-SNAPSHOT, org.motechproject,motech-testing-utils,0.22-SNAPSHOT}
2013-11-28 23:45:51,203 WARN [org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl] bootstrap.properties file in the location /var/lib/jenkins/.motech/config/ is not READABLE.
2013-11-28 23:45:51,204 WARN [org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl] bootstrap.properties file in the location /etc/motech/ is not READABLE.
2013-11-28 23:45:51,204 WARN [org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl] bootstrap.properties file in the location \/var/lib/jenkins/.motech/config/ is not READABLE.
2013-11-28 23:45:51,205 WARN [org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl] bootstrap.properties file is not READABLE from any of the default locations.
2013-11-28 23:45:51,207 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-commons-couchdb, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'couchDbManager' defined in OSGi resource[classpath:/META-INF/motech/applicationCommonsCouchdbContext.xml|bnd.id=98|bnd.sym=org.motechproject.motech-platform-commons-couchdb]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl]: Constructor threw exception; nested exception is org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
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.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:722)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl]: Constructor threw exception; nested exception is org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 16 more
Caused by: org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.getDefaultBootstrapFile(CoreConfigurationServiceImpl.java:131)
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.readBootstrapConfigFromDefaultLocation(CoreConfigurationServiceImpl.java:137)
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.loadBootstrapConfig(CoreConfigurationServiceImpl.java:81)
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:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
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 $Proxy11.loadBootstrapConfig(Unknown Source)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.getCouchdbProperties(CouchDbManagerImpl.java:67)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.configureDb(CouchDbManagerImpl.java:49)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.<init>(CouchDbManagerImpl.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 18 more
2013-11-28 23:45:51,213 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-commons-couchdb], unsatisfied dependencies: none
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'couchDbManager' defined in OSGi resource[classpath:/META-INF/motech/applicationCommonsCouchdbContext.xml|bnd.id=98|bnd.sym=org.motechproject.motech-platform-commons-couchdb]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl]: Constructor threw exception; nested exception is org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
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.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:722)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl]: Constructor threw exception; nested exception is org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 16 more
Caused by: org.motechproject.config.core.MotechConfigurationException: bootstrap.properties file is not READABLE from any of the default locations.
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.getDefaultBootstrapFile(CoreConfigurationServiceImpl.java:131)
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.readBootstrapConfigFromDefaultLocation(CoreConfigurationServiceImpl.java:137)
at org.motechproject.config.core.service.impl.CoreConfigurationServiceImpl.loadBootstrapConfig(CoreConfigurationServiceImpl.java:81)
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:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
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 $Proxy11.loadBootstrapConfig(Unknown Source)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.getCouchdbProperties(CouchDbManagerImpl.java:67)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.configureDb(CouchDbManagerImpl.java:49)
at org.motechproject.commons.couchdb.service.impl.CouchDbManagerImpl.<init>(CouchDbManagerImpl.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 18 more
[INFO] Started jetty 6.1.x at port 8282
2013-11-28 23:46:48,555 WARN [org.motechproject.appointments.api.osgi.AppointmentsApiBundleIT] Waiting for applicationContext for bundle=org.motechproject.motech-platform-commons-couchdb timed out
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 65.151 sec <<< FAILURE!

Results :

Tests in error:
testAppointmentService(org.motechproject.appointments.api.osgi.AppointmentsApiBundleIT): Gave up waiting for application context for 'org.motechproject.motech-platform-commons-couchdb' to be created
testOsgiPlatformStarts(org.motechproject.appointments.api.osgi.AppointmentsApiBundleIT)

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-appointments-api ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:verify (verify) @ motech-appointments-api ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-MRS/ws/modules/appointments/api/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH Platform Medical Records ................... SUCCESS [11.743s]
[INFO] MOTECH MRS API .................................... SUCCESS [44.379s]
[INFO] MOTECH OpenMRS Domain ............................. SUCCESS [13.862s]
[INFO] MOTECH OpenMRS API ................................ SUCCESS [46.146s]
[INFO] MOTECH OpenMRS Atom Feed Module ................... SUCCESS [11.303s]
[INFO] MOTECH OpenMRS OMOD ............................... SUCCESS [50.713s]
[INFO] MOTECH OpenMRS Web Services ....................... SUCCESS [15.181s]
[INFO] MOTECH Appointments API ........................... FAILURE [1:37.720s]
[INFO] MOTECH MRS CouchDB ................................ SKIPPED
[INFO] MOTECH OpenMRS API Bundle ......................... SKIPPED
[INFO] MOTECH OpenMRS Atom Feed Module Bundle ............ SKIPPED
[INFO] MOTECH OpenMRS Web Services Bundle ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:52.697s
[INFO] Finished at: Thu Nov 28 23:46:48 PST 2013
[INFO] Final Memory: 79M/271M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.9:verify (verify) on project motech-appointments-api: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-MRS/ws/modules/appointments/api/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 :motech-appointments-api
Build step 'Invoke top-level Maven targets' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results

Jenkins

unread,
Nov 29, 2013, 3:21:03 AM11/29/13
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages