Build failed in Jenkins: Platform-Modules #1088

0 views
Skip to first unread message

Jenkins

unread,
Oct 9, 2015, 9:30:25 AM10/9/15
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/1088/changes>

Changes:

[sbrudzinski] MOTECH-1941 Bumped max upload size for CMS Lite

[sbrudzinski] MOTECH-1865: Added unique & required constraints to the domain

------------------------------------------
[...truncated 1535 lines...]
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)

shouldReturnAllAlertsWithGivenAlertTypeOnly(org.motechproject.alerts.it.AlertsDataServiceBundleIT) Time elapsed: 225.035 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework not ready after 225000 ms
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:125)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:95)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:113)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:278)
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:112)
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)

shouldReturnAllAlertsWithGivenAlertStatusOnly(org.motechproject.alerts.it.AlertsDataServiceBundleIT) Time elapsed: 225.016 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework not ready after 225000 ms
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:125)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:95)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:113)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:278)
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:112)
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)

shouldReturnAllAlertsWithGivenPriorityOnly(org.motechproject.alerts.it.AlertsDataServiceBundleIT) Time elapsed: 225.023 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework not ready after 225000 ms
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:125)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:95)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:113)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:278)
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:112)
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)

shouldFilterAlertsBasedOnDateRange(org.motechproject.alerts.it.AlertsDataServiceBundleIT) Time elapsed: 225.03 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework not ready after 225000 ms
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:125)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:95)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:113)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:278)
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:112)
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)

shouldNotChangeDateTimeWhenChangingTheStatus(org.motechproject.alerts.it.AlertsDataServiceBundleIT) Time elapsed: 225.024 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework not ready after 225000 ms
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:125)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:95)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:113)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:278)
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:112)
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:
AlertFilterBundleIT.shouldSearchByPrimaryCriterion ? TestContainer Framework n...
AlertFilterBundleIT.shouldSearchByTwoSecondaryCriteria ? TestContainer Framewo...
AlertFilterBundleIT.shouldSearchByNoCriteria ? TestContainer Framework not rea...
AlertFilterBundleIT.shouldSearchByOneSecondaryCriterion ? TestContainer Framew...
AlertsBundleIT.testAppointmentService ? TestContainer Framework not ready afte...
AlertServiceBundleIT.shouldRegisterSuccessfully ? TestContainer Framework not ...
AlertServiceBundleIT.shouldUpdateAlert ? TestContainer Framework not ready aft...
AlertsDataServiceBundleIT.shouldReturnAllAlertsWithGivenExternalIdOnly ? TestContainer
AlertsDataServiceBundleIT.shouldReturnAllAlertsWithGivenAlertTypeOnly ? TestContainer
AlertsDataServiceBundleIT.shouldReturnAllAlertsWithGivenAlertStatusOnly ? TestContainer
AlertsDataServiceBundleIT.shouldReturnAllAlertsWithGivenPriorityOnly ? TestContainer
AlertsDataServiceBundleIT.shouldFilterAlertsBasedOnDateRange ? TestContainer F...
AlertsDataServiceBundleIT.shouldNotChangeDateTimeWhenChangingTheStatus ? TestContainer

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ alerts ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ alerts ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/alerts/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 [10.423s]
[INFO] Alerts Module ..................................... FAILURE [49:07.993s]
[INFO] Appointments Module ............................... SKIPPED
[INFO] CMS Lite Module ................................... SKIPPED
[INFO] CommCare Module ................................... SKIPPED
[INFO] Event Logging Module .............................. SKIPPED
[INFO] Hindi Transliteration ............................. SKIPPED
[INFO] Http Agent Module ................................. SKIPPED
[INFO] mTraining Module .................................. SKIPPED
[INFO] SMS Module ........................................ SKIPPED
[INFO] MOTECH Message Campaign ........................... SKIPPED
[INFO] OpenMRS 1.9 ....................................... SKIPPED
[INFO] Pill Reminder Module .............................. SKIPPED
[INFO] Schedule Tracking Modules ......................... SKIPPED
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49:19.349s
[INFO] Finished at: Fri Oct 09 13:37:16 UTC 2015
[INFO] Final Memory: 50M/255M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project alerts: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Modules/ws/alerts/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 :alerts
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Oct 9, 2015, 9:45:05 AM10/9/15
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/1089/>

------------------------------------------
[...truncated 12371 lines...]
[INFO] org.springframework.web.servlet-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.paranamer-2.6_1.jar already exists in destination.
[INFO] org.apache.felix.eventadmin-1.3.2.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.digester-1.8.1.jar already exists in destination.
[INFO] com.springsource.org.aspectj.weaver-1.6.12.RELEASE.jar already exists in destination.
[INFO] org.springframework.beans-3.1.0.RELEASE.jar already exists in destination.
[INFO] ops4j-base-util-property-1.4.0.jar already exists in destination.
[INFO] org.motechproject.org.quartz-scheduler-2.1.5-r027.jar already exists in destination.
[INFO] org.motechproject.org.hibernate.validator-4.1.0.Final-r027.jar already exists in destination.
[INFO] com.springsource.com.mchange.v2.c3p0-0.9.1.jar already exists in destination.
[INFO] aether-connector-wagon-1.13.1.jar already exists in destination.
[INFO] org.motechproject.reflections-0.9.5-r027.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.core-1.0.2.RELEASE.jar already exists in destination.
[INFO] org.motechproject.org.apache.commons.configuration-1.8-r027.jar already exists in destination.
[INFO] com.springsource.net.sf.cglib-2.2.0.jar already exists in destination.
[INFO] pax-swissbox-property-1.7.0.jar already exists in destination.
[INFO] flyway-core-2.3.1.jar already exists in destination.
[INFO] com.springsource.org.apache.oro-2.0.8.jar already exists in destination.
[INFO] time-api-0.6.3.jar already exists in destination.
[INFO] super-csv-2.2.0.jar already exists in destination.
[INFO] com.springsource.javax.servlet-2.5.0.jar already exists in destination.
[INFO] slf4j-api-1.7.2.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.vfs-1.0.0.jar already exists in destination.
[INFO] org.springframework.context-3.1.0.RELEASE.jar already exists in destination.
[INFO] reflections-0.9.5.jar already exists in destination.
[INFO] org.springframework.security.core-3.1.0.RELEASE.jar already exists in destination.
[INFO] pax-url-aether-1.6.0.jar already exists in destination.
[INFO] org.motechproject.javax.time-0.6.3-r027.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.validator-1.3.1.jar already exists in destination.
[INFO] plexus-interpolation-1.14.jar already exists in destination.
[INFO] com.springsource.org.objectweb.howl-1.0.2.jar already exists in destination.
[INFO] wagon-file-1.0.jar already exists in destination.
[INFO] wagon-http-lightweight-1.0.jar already exists in destination.
[INFO] org.springframework.asm-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.aopalliance-1.0.0.jar already exists in destination.
[INFO] com.springsource.javax.activation-1.1.1.jar already exists in destination.
[INFO] pax-url-maven-commons-1.6.0.jar already exists in destination.
[INFO] maven-aether-provider-3.0.4.jar already exists in destination.
[INFO] aether-util-1.13.1.jar already exists in destination.
[INFO] ops4j-base-lang-1.4.0.jar already exists in destination.
[INFO] javassist-3.18.1-GA.jar already exists in destination.
[INFO] ops4j-base-util-xml-1.4.0.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.beanutils-1.8.3.jar already exists in destination.
[INFO] datanucleus-rdbms-3.2.12.jar already exists in destination.
[INFO] org.springframework.expression-3.1.0.RELEASE.jar already exists in destination.
[INFO] plexus-container-default-1.5.5.jar already exists in destination.
[INFO] jsoup-1.6.1.jar already exists in destination.
[INFO] org.springframework.web-3.1.0.RELEASE.jar already exists in destination.
[INFO] jta-1.1.jar already exists in destination.
[INFO] com.springsource.javax.ejb-3.0.0.jar already exists in destination.
[INFO] aether-impl-1.13.1.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.springframework.context.support-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.hamcrest-1.1.0.jar already exists in destination.
[INFO] jdo-api-3.0.1.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] com.springsource.javax.xml.rpc-1.1.0.jar already exists in destination.
[INFO] mysql-connector-java-5.1.32.jar already exists in destination.
[INFO] com.springsource.org.apache.velocity-1.6.2.jar already exists in destination.
[INFO] org.motechproject.org.apache.activemq-5.4.2-r027.jar already exists in destination.
[INFO] maven-model-builder-3.0.4.jar already exists in destination.
[INFO] log4j-1.2.17.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] org.motechproject.com.google.code.gson-1.7.1-r027.jar already exists in destination.
[INFO] pax-url-commons-1.6.0.jar already exists in destination.
[INFO] org.springframework.transaction-3.1.0.RELEASE.jar already exists in destination.
[INFO] plexus-component-annotations-1.5.5.jar already exists in destination.
[INFO] joda-time-2.0.jar already exists in destination.
[INFO] ops4j-base-util-collections-1.4.0.jar already exists in destination.
[INFO] guava-r08.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.extender-1.0.2.RELEASE.jar already exists in destination.
[INFO] aether-spi-1.13.1.jar already exists in destination.
[INFO] org.springframework.jms-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.lang-2.6.0.jar already exists in destination.
[INFO] org.motechproject.org.codehaus.jackson-1.9.7-r027.jar already exists in destination.
[INFO] maven-model-3.0.4.jar already exists in destination.
[INFO] org.motechproject.guava-0.8.0-r027.jar already exists in destination.
[INFO] com.springsource.javax.management.j2ee-1.0.1.jar already exists in destination.
[INFO] slf4j-log4j12-1.7.2.jar already exists in destination.
[INFO] com.springsource.org.objectweb.asm-2.2.3.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.io-1.4.0.jar already exists in destination.
[INFO] paranamer-2.6.jar already exists in destination.
[INFO] org.springframework.aop-3.1.0.RELEASE.jar already exists in destination.
[INFO] motech-c3p0-fragment-bundle-0.16-r027.jar already exists in destination.
[INFO] com.springsource.javax.xml.soap-1.3.0.jar already exists in destination.
[INFO] datanucleus-api-jpa-3.3.6.jar already exists in destination.
[INFO] commons-logging-1.0.4.jar already exists in destination.
[INFO] com.springsource.org.aspectj.runtime-1.6.8.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.logging-1.1.1.jar already exists in destination.
[INFO] aether-api-1.13.1.jar already exists in destination.
[INFO] wagon-http-shared-1.0.jar already exists in destination.
[INFO] org.springframework.jdbc-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.objenesis-1.2.0.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.collections-3.2.1.jar already exists in destination.
[INFO] org.springframework.orm-3.1.0.RELEASE.jar already exists in destination.
[INFO] jcl-over-slf4j-1.7.2.jar already exists in destination.
[INFO] spring-integration-jms-2.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.dom4j-1.6.1.jar already exists in destination.
[INFO] org.springframework.security.config-3.1.0.RELEASE.jar already exists in destination.
[INFO] maven-repository-metadata-3.0.4.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] org.motechproject.com.googlecode.lambdaj-2.3.3-r027.jar already exists in destination.
[INFO] com.springsource.org.hamcrest.core-1.1.0.jar already exists in destination.
[INFO] org.motechproject.org.postgresql-9.1-901.jdbc4-r027.jar already exists in destination.
[INFO] commons-httpclient-3.1.jar already exists in destination.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ pill-reminder ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ pill-reminder ---
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/Platform-Modules/ws/pill-reminder/target/classes>
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:check (default) @ pill-reminder >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ pill-reminder ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:check (default) @ pill-reminder <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:check (default) @ pill-reminder ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:cpd-check (default) @ pill-reminder >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd (cpd) @ pill-reminder ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:cpd-check (default) @ pill-reminder <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd-check (default) @ pill-reminder ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ pill-reminder ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ pill-reminder ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ pill-reminder ---
[INFO] Compiling 20 source files to <http://ci.motechproject.org/job/Platform-Modules/ws/pill-reminder/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ pill-reminder ---
[INFO] Surefire report directory: <http://ci.motechproject.org/job/Platform-Modules/ws/pill-reminder/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.pillreminder.domain.DosageCapturedTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec - in org.motechproject.pillreminder.domain.DosageCapturedTest
Running org.motechproject.pillreminder.domain.PillRegimenTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.motechproject.pillreminder.domain.PillRegimenTest
Running org.motechproject.pillreminder.domain.DosageTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.motechproject.pillreminder.domain.DosageTest
Running org.motechproject.pillreminder.domain.MedicineTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in org.motechproject.pillreminder.domain.MedicineTest
Running org.motechproject.pillreminder.service.PillRegimenJobSchedulerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec - in org.motechproject.pillreminder.service.PillRegimenJobSchedulerTest
Running org.motechproject.pillreminder.service.PillReminderServiceImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec - in org.motechproject.pillreminder.service.PillReminderServiceImplTest
Running org.motechproject.pillreminder.ReminderEventHandlerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec - in org.motechproject.pillreminder.ReminderEventHandlerTest
Running org.motechproject.pillreminder.builder.MedicineBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.motechproject.pillreminder.builder.MedicineBuilderTest
Running org.motechproject.pillreminder.builder.MedicineResponseBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.motechproject.pillreminder.builder.MedicineResponseBuilderTest
Running org.motechproject.pillreminder.builder.DosageResponseBuilderTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec <<< FAILURE! - in org.motechproject.pillreminder.builder.DosageResponseBuilderTest
shouldConstructADosageResponseGivenADosage(org.motechproject.pillreminder.builder.DosageResponseBuilderTest) Time elapsed: 0.087 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<[medicine1, medicine2]> but was:<[medicine2, medicine1]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.motechproject.pillreminder.builder.DosageResponseBuilderTest.shouldConstructADosageResponseGivenADosage(DosageResponseBuilderTest.java:38)

Running org.motechproject.pillreminder.builder.PillRegimenResponseBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.motechproject.pillreminder.builder.PillRegimenResponseBuilderTest
Running org.motechproject.pillreminder.builder.SchedulerPayloadBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.motechproject.pillreminder.builder.SchedulerPayloadBuilderTest
Running org.motechproject.pillreminder.builder.DosageBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.motechproject.pillreminder.builder.DosageBuilderTest
Running org.motechproject.pillreminder.builder.PillRegimenBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.motechproject.pillreminder.builder.PillRegimenBuilderTest

Results :

Failed tests:
DosageResponseBuilderTest.shouldConstructADosageResponseGivenADosage:38 expected:<[medicine1, medicine2]> but was:<[medicine2, medicine1]>

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH Modules .................................... SUCCESS [13.959s]
[INFO] Alerts Module ..................................... SUCCESS [1:02.019s]
[INFO] Appointments Module ............................... SUCCESS [50.708s]
[INFO] CMS Lite Module ................................... SUCCESS [47.421s]
[INFO] CommCare Module ................................... SUCCESS [2:19.631s]
[INFO] Event Logging Module .............................. SUCCESS [43.020s]
[INFO] Hindi Transliteration ............................. SUCCESS [5.436s]
[INFO] Http Agent Module ................................. SUCCESS [42.246s]
[INFO] mTraining Module .................................. SUCCESS [40.820s]
[INFO] SMS Module ........................................ SUCCESS [1:11.935s]
[INFO] MOTECH Message Campaign ........................... SUCCESS [1:20.590s]
[INFO] OpenMRS 1.9 ....................................... SUCCESS [12.306s]
[INFO] Pill Reminder Module .............................. FAILURE [4.807s]
[INFO] Schedule Tracking Modules ......................... SKIPPED
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:16.987s
[INFO] Finished at: Fri Oct 09 13:51:57 UTC 2015
[INFO] Final Memory: 106M/370M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project pill-reminder: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-Modules/ws/pill-reminder/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 :pill-reminder

Jenkins

unread,
Oct 9, 2015, 10:36:08 AM10/9/15
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages