Build failed in Jenkins: Platform-Campaigns #161

瀏覽次數:2 次
跳到第一則未讀訊息

Jenkins

未讀,
2013年12月12日 清晨7:06:172013/12/12
收件者:motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Campaigns/161/>

------------------------------------------
[...truncated 901 lines...]
[INFO] --- maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-message-campaign ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ motech-message-campaign ---
[INFO] Starting audit...
<http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/src/main/java/org/motechproject/messagecampaign/web/api/EnrollmentRestController.java>:168:90: '}' is not preceded with whitespace.
<http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/src/main/java/org/motechproject/messagecampaign/scheduler/CampaignSchedulerService.java>:60:98: Redundant throws: 'CampaignEnrollmentException' is unchecked exception.
<http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/src/main/java/org/motechproject/messagecampaign/handler/MessageCampaignEventHandler.java>:30:75: '}' is not preceded with whitespace.
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ motech-message-campaign ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 24 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ motech-message-campaign ---
[INFO] Compiling 31 source files to <http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ motech-message-campaign ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.3.5:bundle (default-bundle) @ motech-message-campaign ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-bundles) @ motech-message-campaign ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (drop DB test-motech-message-campaign) @ motech-message-campaign ---
[INFO] Executing tasks

main:
[exec] {"ok":true}
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-test-config-files) @ motech-message-campaign ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-message-campaign-test-files) @ motech-message-campaign ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (integration-test) @ motech-message-campaign ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/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.messagecampaign.web.controller.EnrollmentControllerIT
2013-12-12 04:02:41,834 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:02:42,646 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.609 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.web.controller.CampaignControllerIT
2013-12-12 04:02:56,919 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:02:57,576 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.651 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.dao.AllCampaignEnrollmentsIT
2013-12-12 04:03:11,872 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:03:12,712 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.223 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.dao.AllMessageCampaignsIT
2013-12-12 04:03:26,135 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:03:26,974 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.837 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.it.MessageCampaignServiceIT
2013-12-12 04:03:41,151 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:03:41,967 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.185 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.it.scheduler.DayOfWeekCampaignSchedulingIT
2013-12-12 04:03:54,929 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:03:55,791 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.743 sec
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
Running org.motechproject.messagecampaign.it.scheduler.RepeatCampaignSchedulingIT
2013-12-12 04:04:09,157 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:04:10,303 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.728 sec

Results :

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

[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (integration-test-osgi) @ motech-message-campaign ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/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.messagecampaign.osgi.MessageCampaignBundleIT
Dec 12, 2013 4:04:14 AM 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]
Dec 12, 2013 4:04:14 AM 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]
Dec 12, 2013 4:04:14 AM 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-r022, com.google.collect,com.springsource.com.google.common.collect,0.8.0.20080820, com.googlecode.lambdaj,lambdaj,2.3.3, com.googlecode.lambdaj,org.motechproject.com.googlecode.lambdaj,2.3.3-r022, 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.mail,com.springsource.javax.mail,1.4.5, 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.validation,com.springsource.javax.validation,1.0.0.GA, 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, net.sourceforge.nekohtml,com.springsource.org.cyberneko.html,1.9.13, 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-r022, org.apache.commons,com.springsource.org.apache.commons.codec,1.6.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.httpclient,3.1.0, 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.2.0, 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.http.proxy,2.2.0, 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.apache.velocity,com.springsource.org.apache.velocity,1.6.2, org.apache.xerces,com.springsource.org.apache.xerces,2.8.1, org.apache.xml,com.springsource.org.apache.xml.resolver,1.2.0, org.apache.xmlcommons,com.springsource.org.apache.xmlcommons,1.3.3, 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-r022, 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-r022, 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.hibernate,org.motechproject.org.hibernate.validator,4.1.0.Final-r022, org.javassist,javassist,3.14.0-GA, org.json,org.motechproject.org.json,20080701-r022, org.junit,org.motechproject.org.junit,4.9-r022, 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-r022, 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.openid4java,com.springsource.org.openid4java,0.9.5, 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-r022, 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-r022, 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,spring-test-mvc,1.0.0.M1, org.springframework.integration,spring-integration-core,2.1.0.RELEASE, org.springframework.integration,spring-integration-jms,2.1.0.RELEASE, org.springframework.security,org.springframework.security.config,3.1.0.RELEASE, org.springframework.security,org.springframework.security.core,3.1.0.RELEASE, org.springframework.security,org.springframework.security.openid,3.1.0.RELEASE, org.springframework.security,org.springframework.security.web,3.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-platform-web-security,0.22-SNAPSHOT, org.motechproject,motech-c3p0-fragment-bundle,0.16-r022, org.motechproject,motech-scheduler,0.22-SNAPSHOT, org.motechproject,motech-testing-utils,0.22-SNAPSHOT}
[INFO] Started jetty 6.1.x at port 8383
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
2013-12-12 04:04:22,444 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled;
2013-12-12 04:04:23,709 WARN [org.springframework.security.config.http.DefaultFilterChainValidator] Anonymous access to the login page doesn't appear to be enabled. This is almost certainly an error. Please check your configuration allows unauthenticated access to the configured login page. (Simulated access was rejected: org.springframework.security.access.AccessDeniedException: Access is denied)
[INFO] Initializing Spring FrameworkServlet 'servlet_2'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [120]
2013-12-12 04:04:25,931 WARN [org.motechproject.osgi.web.UIServiceTracker] bean moduleRegistrationData not found
[INFO] Initializing Spring FrameworkServlet 'servlet_6'
[INFO] Initialized servlet for org.motechproject.motech-scheduler [125]
2013-12-12 04:04:28,962 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-message-campaign, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistrationData' defined in URL [bundle://127.0:0/META-INF/spring/blueprint.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.osgi.web.ModuleRegistrationData]: Constructor threw exception; nested exception is java.lang.NullPointerException
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.osgi.web.ModuleRegistrationData]: Constructor threw exception; nested exception is java.lang.NullPointerException
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: java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1049)
at org.motechproject.osgi.web.Header.asString(Header.java:47)
at org.motechproject.osgi.web.ModuleRegistrationData.<init>(ModuleRegistrationData.java:44)
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-12-12 04:04:28,967 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-message-campaign], unsatisfied dependencies: none
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistrationData' defined in URL [bundle://127.0:0/META-INF/spring/blueprint.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.motechproject.osgi.web.ModuleRegistrationData]: Constructor threw exception; nested exception is java.lang.NullPointerException
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.osgi.web.ModuleRegistrationData]: Constructor threw exception; nested exception is java.lang.NullPointerException
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: java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1049)
at org.motechproject.osgi.web.Header.asString(Header.java:47)
at org.motechproject.osgi.web.ModuleRegistrationData.<init>(ModuleRegistrationData.java:44)
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-12-12 04:05:27,887 WARN [org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT] Waiting for applicationContext for bundle=org.motechproject.motech-message-campaign timed out
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 73.485 sec <<< FAILURE!

Results :

Tests in error:
testControllersAnonymous(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT): Gave up waiting for application context for 'org.motechproject.motech-message-campaign' to be created
testMessageCampaignService(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT)
testControllersUnauthenticated(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT)
testControllersAsUnathorizedUser(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT)
testControllersAsAuthorizedUser(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT)
testOsgiPlatformStarts(org.motechproject.messagecampaign.osgi.MessageCampaignBundleIT)

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

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (clean-config) @ motech-message-campaign ---
[INFO] Deleting /var/lib/jenkins/.motech/config (includes = [org.motechproject.motech-message-campaign-bundle/**], excludes = [])
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-message-campaign ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:verify (verify) @ motech-message-campaign ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/target/failsafe-reports>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH Platform Campaigns ......................... SUCCESS [13.015s]
[INFO] MOTECH Message Campaign ........................... FAILURE [3:25.180s]
[INFO] MOTECH Pill Reminder API .......................... SKIPPED
[INFO] MOTECH Schedule Tracking API ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:39.791s
[INFO] Finished at: Thu Dec 12 04:05:29 PST 2013
[INFO] Final Memory: 46M/211M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.9:verify (verify) on project motech-message-campaign: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Campaigns/ws/modules/message-campaign/message-campaign/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-message-campaign
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

未讀,
2013年12月12日 清晨7:36:242013/12/12
收件者:motec...@googlegroups.com、ger...@domu-12-31-39-0a-11-79.compute-1.internal
回覆所有人
回覆作者
轉寄
0 則新訊息