Build failed in Jenkins: Platform-Modules #1306

閲覧: 4 回
最初の未読メッセージにスキップ

Jenkins

未読、
2016/02/04 9:37:042016/02/04
To: motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/1306/>

------------------------------------------
[...truncated 3451 lines...]
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:745)
Caused by: com.googlecode.flyway.core.command.FlywaySqlScriptException: Error executing statement at line 21: CALL convertMotechUserOpenId()
at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:92)
at com.googlecode.flyway.core.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:72)
at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:243)
at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:241)
at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
at com.googlecode.flyway.core.command.DbMigrate.applyMigration(DbMigrate.java:241)
at com.googlecode.flyway.core.command.DbMigrate.access$700(DbMigrate.java:44)
at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:186)
at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:135)
at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
at com.googlecode.flyway.core.command.DbMigrate.migrate(DbMigrate.java:135)
at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:872)
at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:819)
at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1200)
at com.googlecode.flyway.core.Flyway.migrate(Flyway.java:819)
at org.motechproject.mds.jdo.SchemaGenerator.runMigrations(SchemaGenerator.java:104)
at org.motechproject.mds.jdo.SchemaGenerator.afterPropertiesSet(SchemaGenerator.java:64)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
... 14 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'motech_data_services.MOTECH_WEB_SECURITY_MOTECHUSER' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
at com.mysql.jdbc.Util.getInstance(Util.java:383)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1062)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4208)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4140)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2597)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2758)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2820)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2769)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:907)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:791)
at org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at com.googlecode.flyway.core.dbsupport.JdbcTemplate.executeStatement(JdbcTemplate.java:230)
at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:90)
... 32 more
2016-02-04 14:47:28,111 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
2016-02-04 14:47:38,111 ERROR [org.eclipse.gemini.blueprint.extender.internal.util.concurrent.RunnableTimedExecution] Closing runnable for context MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-event, 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
2016-02-04 14:47:48,112 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
2016-02-04 14:47:58,112 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
2016-02-04 14:48:08,112 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
2016-02-04 14:48:18,119 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:366)
at org.motechproject.mds.osgi.EntitiesBundleMonitor.waitForEntitiesContext(EntitiesBundleMonitor.java:153)
at org.motechproject.mds.osgi.EntitiesBundleMonitor.start(EntitiesBundleMonitor.java:244)
at org.motechproject.mds.osgi.MdsBundleWatcher.refreshBundles(MdsBundleWatcher.java:273)
at org.motechproject.mds.osgi.MdsBundleWatcher.access$300(MdsBundleWatcher.java:48)
at org.motechproject.mds.osgi.MdsBundleWatcher$2.doInTransactionWithoutResult(MdsBundleWatcher.java:96)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.motechproject.mds.osgi.MdsBundleWatcher.start(MdsBundleWatcher.java:88)
at org.motechproject.mds.MDSInitializer.initMDS(MDSInitializer.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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:745)
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 99.944 sec <<< FAILURE! - in org.motechproject.commcare.it.CommcareIntegrationTests
testCommcareTasksIntegration(org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT) Time elapsed: 34.623 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testSettingsController(org.motechproject.commcare.it.CommcareBundleIT) Time elapsed: 0 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

shouldSaveAndRetrieveCommcareApplications(org.motechproject.commcare.it.CommcareApplicationDataServiceBundleIT) Time elapsed: 0 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


Results :

Tests in error:
CommcareTasksIntegrationBundleIT.testCommcareTasksIntegration ? TestContainer ...
CommcareBundleIT.testSettingsController ? TestContainer Framework startup erro...
CommcareApplicationDataServiceBundleIT.shouldSaveAndRetrieveCommcareApplications ? TestContainer

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ commcare ---
[INFO] Searching directory <http://ci.motechproject.org/job/Platform-Modules/ws/commcare/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17: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 [14.621s]
[INFO] Alerts Module ..................................... SUCCESS [1:09.512s]
[INFO] Appointments Module ............................... SUCCESS [48.678s]
[INFO] CMS Lite Module ................................... SUCCESS [51.967s]
[INFO] CommCare Module ................................... FAILURE [1:56.172s]
[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] DHIS2 module ...................................... SKIPPED
[INFO] Care Services Directory ........................... SKIPPED
[INFO] Metrics Module .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:03.077s
[INFO] Finished at: Thu Feb 04 14:48:19 UTC 2016
[INFO] Final Memory: 103M/297M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17: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
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

未読、
2016/02/04 12:34:212016/02/04
To: motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/1307/>

------------------------------------------
[...truncated 17989 lines...]
[INFO] org.motechproject.javax.time-0.6.3-r029.jar already exists in destination.
[INFO] asm-commons-5.0.3.jar already exists in destination.
[INFO] commons-digester-2.1.jar already exists in destination.
[INFO] org.motechproject.com.google.code.gson-1.7.1-r029.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.core-1.0.2.RELEASE.jar already exists in destination.
[INFO] commons-logging-1.1.1.jar already exists in destination.
[INFO] commons-io-2.4.jar already exists in destination.
[INFO] commons-beanutils-1.9.2.jar already exists in destination.
[INFO] commons-dbcp-1.4.jar already exists in destination.
[INFO] flyway-core-2.3.1.jar already exists in destination.
[INFO] time-api-0.6.3.jar already exists in destination.
[INFO] com.springsource.javax.servlet-2.5.0.jar already exists in destination.
[INFO] super-csv-2.2.0.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.jsch-0.1.51_1.jar already exists in destination.
[INFO] org.motechproject.org.postgresql-9.1-901.jdbc4-r029.jar already exists in destination.
[INFO] org.apache.bval.bundle-0.5.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.c3p0-0.9.1.2_1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.bsf-2.4.0_1.jar already exists in destination.
[INFO] slf4j-api-1.7.2.jar already exists in destination.
[INFO] regexp-1.3.jar already exists in destination.
[INFO] org.motechproject.com.googlecode.lambdaj-2.3.3-r029.jar already exists in destination.
[INFO] spring-context-3.1.0.RELEASE.jar already exists in destination.
[INFO] httpcore-nio-4.4.1.jar already exists in destination.
[INFO] spring-webmvc-3.1.0.RELEASE.jar already exists in destination.
[INFO] asm-5.0.3.jar already exists in destination.
[INFO] bval-core-0.5.jar already exists in destination.
[INFO] maven-scm-api-1.4.jar already exists in destination.
[INFO] commons-lang-2.6.jar already exists in destination.
[INFO] activation-1.1.jar already exists in destination.
[INFO] spring-tx-3.1.0.RELEASE.jar already exists in destination.
[INFO] commons-vfs2-2.0.jar already exists in destination.
[INFO] spring-web-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.httpclient-3.1.0.jar already exists in destination.
[INFO] commons-codec-1.10.jar already exists in destination.
[INFO] javassist-3.18.1-GA.jar already exists in destination.
[INFO] httpcore-4.4.1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.velocity-1.6.4_4.jar already exists in destination.
[INFO] datanucleus-rdbms-3.2.12.jar already exists in destination.
[INFO] org.motechproject.aether-api-1.13.1-r029.jar already exists in destination.
[INFO] org.apache.servicemix.specs.activation-api-1.1-2.4.0.jar already exists in destination.
[INFO] jta-1.1.jar already exists in destination.
[INFO] ow2-ejb-3.1-spec-1.0.13.jar already exists in destination.
[INFO] stax-api-1.0-2.jar already exists in destination.
[INFO] http-agent-0.27.2-SNAPSHOT.jar already exists in destination.
[INFO] javax.xml.rpc-api-1.1.1.jar already exists in destination.
[INFO] plexus-utils-2.0.6.jar already exists in destination.
[INFO] guava-18.0.jar already exists in destination.
[INFO] spring-jms-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.io-1.0.2.RELEASE.jar already exists in destination.
[INFO] datanucleus-core-3.2.12.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.howl-1.0.1-1_3.jar already exists in destination.
[INFO] jdo-api-3.0.1.jar already exists in destination.
[INFO] oro-2.0.8.jar already exists in destination.
[INFO] org.osgi.compendium-5.0.0.jar already exists in destination.
[INFO] com.springsource.javax.transaction-1.1.0.jar already exists in destination.
[INFO] postgresql-9.1-901.jdbc4.jar already exists in destination.
[INFO] com.springsource.javax.jms-1.1.0.jar already exists in destination.
[INFO] annotations-2.0.1.jar already exists in destination.
[INFO] mysql-connector-java-5.1.32.jar already exists in destination.
[INFO] log4j-1.2.17.jar already exists in destination.
[INFO] maven-scm-provider-svn-commons-1.4.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.aopalliance-1.0_6.jar already exists in destination.
[INFO] spring-integration-core-2.1.0.RELEASE.jar already exists in destination.
[INFO] datanucleus-api-jdo-3.2.7.jar already exists in destination.
[INFO] itextpdf-5.5.6.jar already exists in destination.
[INFO] joda-time-2.0.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.extender-1.0.2.RELEASE.jar already exists in destination.
[INFO] fluent-hc-4.4.1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.aspectj-1.8.5_1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.hamcrest-1.3_1.jar already exists in destination.
[INFO] httpclient-4.4.1.jar already exists in destination.
[INFO] bval-jsr303-0.5.jar already exists in destination.
[INFO] commons-net-3.2.jar already exists in destination.
[INFO] httpmime-4.4.1.jar already exists in destination.
[INFO] maven-model-3.0.4.jar already exists in destination.
[INFO] slf4j-log4j12-1.7.2.jar already exists in destination.
[INFO] spring-security-config-3.1.0.RELEASE.jar already exists in destination.
[INFO] httpclient-osgi-4.4.1.jar already exists in destination.
[INFO] spring-security-core-3.1.0.RELEASE.jar already exists in destination.
[INFO] commons-lang3-3.1.jar already exists in destination.
[INFO] spring-context-support-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-core-3.1.0.RELEASE.jar already exists in destination.
[INFO] paranamer-2.6.jar already exists in destination.
[INFO] commons-configuration-1.10.jar already exists in destination.
[INFO] org.motechproject.org.apache.activemq-5.4.2-r029.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.dom4j-1.6.1_5.jar already exists in destination.
[INFO] commons-collections-3.2.1.jar already exists in destination.
[INFO] datanucleus-api-jpa-3.3.6.jar already exists in destination.
[INFO] stax-ex-1.7.4.jar already exists in destination.
[INFO] plexus-classworlds-2.4.jar already exists in destination.
[INFO] commons-pool-1.6.jar already exists in destination.
[INFO] commons-beanutils-core-1.8.3.jar already exists in destination.
[INFO] spring-security-crypto-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-orm-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.motechproject.reflections-0.9.9-r029.jar already exists in destination.
[INFO] objenesis-2.1.jar already exists in destination.
[INFO] jackrabbit-webdav-2.9.1.jar already exists in destination.
[INFO] commons-validator-1.4.1.jar already exists in destination.
[INFO] jcl-over-slf4j-1.7.2.jar already exists in destination.
[INFO] httpclient-cache-4.4.1.jar already exists in destination.
[INFO] asm-tree-5.0.3.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.cglib-2.2.2_1.jar already exists in destination.
[INFO] org.motechproject.org.codehaus.jackson-1.9.7-r029.jar already exists in destination.
[INFO] spring-aop-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-integration-jms-2.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.javax.validation-1.0.0.GA.jar already exists in destination.
[INFO] org.eclipse.osgi.services-3.3.0.v20110513.jar already exists in destination.
[INFO] reflections-0.9.9.jar already exists in destination.
[INFO] httpcore-osgi-4.4.1.jar already exists in destination.
[INFO] commons-httpclient-3.1.jar already exists in destination.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hub ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hub ---
[INFO] Compiling 35 source files to <http://ci.motechproject.org/job/Platform-Modules/ws/hub/target/classes>
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:check (default) @ hub >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ hub ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:check (default) @ hub <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:check (default) @ hub ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:cpd-check (default) @ hub >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd (cpd) @ hub ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:cpd-check (default) @ hub <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd-check (default) @ hub ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ hub ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hub ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://ci.motechproject.org/job/Platform-Modules/ws/hub/src/test/resources>
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ hub ---
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/Platform-Modules/ws/hub/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ hub ---
[INFO] Surefire report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/hub/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Xmx1024m -XX:MaxPermSize=512m -Xms512m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
Running org.motechproject.hub.service.impl.ContentDistributionServiceImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec - in org.motechproject.hub.service.impl.ContentDistributionServiceImplTest
Running org.motechproject.hub.service.impl.DistributionServiceDelegateImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.motechproject.hub.service.impl.DistributionServiceDelegateImplTest
Running org.motechproject.hub.service.impl.SubscriptionServiceImplTest
2016-02-04 17:45:33,336 ERROR [org.motechproject.hub.service.impl.SubscriptionServiceImpl] The topic topic_url is already subscribed to the callback url 'callback_url'. Starting intent verification...
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec <<< FAILURE! - in org.motechproject.hub.service.impl.SubscriptionServiceImplTest
subscribeTestTopicExists(org.motechproject.hub.service.impl.SubscriptionServiceImplTest) Time elapsed: 0.028 sec <<< FAILURE!
org.mockito.exceptions.verification.TooManyActualInvocations:
hubSubscriptionMDSService.findSubByCallbackUrlAndTopicId(
"callback_url",
1
);
Wanted 1 time:
-> at org.motechproject.hub.service.impl.SubscriptionServiceImplTest.subscribeTestTopicExists(SubscriptionServiceImplTest.java:117)
But was 2 times. Undesired invocation:
-> at org.motechproject.hub.web.IntentVerificationThreadRunnable.run(IntentVerificationThreadRunnable.java:154)

at org.motechproject.hub.service.impl.SubscriptionServiceImplTest.subscribeTestTopicExists(SubscriptionServiceImplTest.java:117)

Running org.motechproject.hub.validation.HubValidatorTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in org.motechproject.hub.validation.HubValidatorTest
Running org.motechproject.hub.web.HubControllerTest
2016-02-04 17:45:33,406 ERROR [org.motechproject.hub.web.HubController] Error occured while processing request to subscribe for topic topic_url from subscriber's callback url callback_url
2016-02-04 17:45:33,416 ERROR [org.motechproject.hub.web.HubController] Error occurred while processing request to subscribe the resource hub_url
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in org.motechproject.hub.web.HubControllerTest
Running org.motechproject.hub.web.IntentVerificationThreadRunnableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.motechproject.hub.web.IntentVerificationThreadRunnableTest

Results :

Failed tests:
SubscriptionServiceImplTest.subscribeTestTopicExists:117
hubSubscriptionMDSService.findSubByCallbackUrlAndTopicId(
"callback_url",
1
);
Wanted 1 time:
-> at org.motechproject.hub.service.impl.SubscriptionServiceImplTest.subscribeTestTopicExists(SubscriptionServiceImplTest.java:117)
But was 2 times. Undesired invocation:
-> at org.motechproject.hub.web.IntentVerificationThreadRunnable.run(IntentVerificationThreadRunnable.java:154)


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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH Modules .................................... SUCCESS [13.927s]
[INFO] Alerts Module ..................................... SUCCESS [1:06.886s]
[INFO] Appointments Module ............................... SUCCESS [51.966s]
[INFO] CMS Lite Module ................................... SUCCESS [55.384s]
[INFO] CommCare Module ................................... SUCCESS [1:40.225s]
[INFO] Event Logging Module .............................. SUCCESS [43.419s]
[INFO] Hindi Transliteration ............................. SUCCESS [5.140s]
[INFO] Http Agent Module ................................. SUCCESS [40.715s]
[INFO] mTraining Module .................................. SUCCESS [49.394s]
[INFO] SMS Module ........................................ SUCCESS [1:12.951s]
[INFO] MOTECH Message Campaign ........................... SUCCESS [1:43.065s]
[INFO] OpenMRS 1.9 ....................................... SUCCESS [10.134s]
[INFO] Pill Reminder Module .............................. SUCCESS [41.452s]
[INFO] Schedule Tracking Modules ......................... SUCCESS [1:23.190s]
[INFO] MOTECH Batch ...................................... SUCCESS [44.018s]
[INFO] MOTECH Hub ........................................ FAILURE [2.872s]
[INFO] IVR Module ........................................ SKIPPED
[INFO] DHIS2 module ...................................... SKIPPED
[INFO] Care Services Directory ........................... SKIPPED
[INFO] Metrics Module .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:06.923s
[INFO] Finished at: Thu Feb 04 17:45:33 UTC 2016
[INFO] Final Memory: 113M/386M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project hub: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Modules/ws/hub/target/surefire-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 :hub

Jenkins

未読、
2016/02/04 12:49:222016/02/04
To: motec...@googlegroups.com
全員に返信
投稿者に返信
転送
新着メール 0 件