Build failed in Hudson: MOTECH Integration Test #72

1 view
Skip to first unread message

Hudson Server

unread,
May 5, 2011, 2:19:50 AM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/72/changes>

Changes:

[Rob LaRubbio] Some initial refactoring and name changing

[Rob LaRubbio] Get things compiling

[Rob LaRubbio] Rename PatientDAO to AppointmentsDAO

[Rob LaRubbio] Start moving some classes and adding new domain objects

[Rob LaRubbio] Add DAO for appointments and reminders.

[Rob LaRubbio] Add Reminder crud handler

[Rob LaRubbio] Add a repeating schedulable job that mirrors quartz simple trigger api

[Rob LaRubbio] Simplify the appointment domain objects.

[Rob LaRubbio] Add tests for the new appointment and reminder handlers

[Rob LaRubbio] Get appointments and tama appointment reminder code complete.

[Rob LaRubbio] Some cleanup and quick fixes to get things compiling and tests passing

[Rob LaRubbio] Move event code from server-api to server-common so module api packages and client code can access it.

[Rob LaRubbio] Add test cases for tama event handler

[Rob LaRubbio] Add test for null appointment

[Rob LaRubbio] Some interim work to get things up and running

[Rob LaRubbio] Split tama into api and server packages

[Rob LaRubbio] Start migrating model and accessors from grails to tama module.

[Rob LaRubbio] migrate some more grails model code to server modules

[Rob LaRubbio] Add visits and some other assorted changes needed on the grails side

[Rob LaRubbio] Move tama classes into the api package

[Rob LaRubbio] Change context name. Add some annotations

[Rob LaRubbio] Cobertura went crazy and wouldn't let me exclude classes so I just wrote some tests for them.

[Rob LaRubbio] Add some spring config

[Rob LaRubbio] Get pieces set up so grails UI loads and runs

[Rob LaRubbio] Some minor bean changes and move preferences into patient

[Rob LaRubbio] Add event context

[Rob LaRubbio] Fix a Null Pointer

[Rob LaRubbio] Move classes that should only be accesible on the server out of the common package

[Rob LaRubbio] Add service classes infront of the DAOs

[Rob LaRubbio] Make repeat coutn optional and actually get thos ejobs to the scheduler

[Rob LaRubbio] Merge tama-common and tama-api

[Rob LaRubbio] Some additional merge changes. Rules file and test are still broken

[Rob LaRubbio] Update dao name

[Rob LaRubbio] Final merge changes along with some refactoring to clean up the tama packages

[Rob LaRubbio] Some last merge changes to get the server and client up and running

------------------------------------------
[...truncated 9 lines...]
Checking out Revision bcf22ce05e19e13169bcdf0e2d4822ad3554deeb (origin/master)
Found mavenVersion 2.2.1 from file jar:file:/usr/local/bin/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
failed to transfer Unable to locate resource in repository
downloaded artifact http://nexus.motechproject.org/content/repositories/public//org/motechproject/motech-platform/0.1-SNAPSHOT/maven-metadata.xml
downloaded artifact http://nexus.motechproject.org/content/repositories/public//org/motechproject/motech-platform/0.1-SNAPSHOT/motech-platform-0.1-20110331.235230-15.pom
Discovered a new module org.motechproject:motech MOTECH
Discovered a new module org.motechproject:motech-outbox Motech Outbox
Discovered a new module org.motechproject:motech-outbox-api Motech Outbox API
Discovered a new module org.motechproject:motech-appointments Motech Appointments
Discovered a new module org.motechproject:motech-appointments-api Motech Appointments API
Discovered a new module org.motechproject:tama-api TAMA API
[MOTECH Integration Test] $ /usr/local/jdk/bin/java -cp /var/lib/hudson/maven-agent.jar:/var/lib/hudson/classworlds.jar hudson.maven.agent.Main /usr/local/bin/maven /var/lib/hudson/slave.jar /var/lib/hudson/maven-interceptor.jar 40390 /var/lib/hudson/maven2.1-interceptor.jar
<===[HUDSON REMOTING CAPACITY]===>channel started
Executing Maven: -B -f <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> --batch-mode -U clean package failsafe:integration-test failsafe:verify
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Motech Platform Common
[INFO] Motech Platform Server API
[INFO] Motech Platform Server IVR
[INFO] Motech Platform Server
[INFO] Motech Platform Scheduler
[INFO] Motech Outbox API
[INFO] Motech Outbox
[INFO] Motech Appointments API
[INFO] Motech Appointments
[INFO] TAMA API
[INFO] Motech Platform Decision Tree Common
[INFO] TAMA
[INFO] Motech Platform Decision Tree
[INFO] MOTECH
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.motechproject.event.ClientEventRelayTest
2011-05-04 23:15:44,303 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.049 sec
Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT
2011-05-04 23:16:31,552 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-04 23:16:31,555 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-04 23:16:31,555 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.455 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-04 23:16:32,687 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-04 23:16:32,747 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:
{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}
2011-05-04 23:16:32,747 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-04 23:16:32,886 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-04 23:16:32,907 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:
{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}
2011-05-04 23:16:32,907 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-04 23:16:33,896 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-04 23:16:33,922 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:
{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}
2011-05-04 23:16:33,922 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-04 23:16:33,943 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-04 23:16:33,981 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-04 23:16:34,003 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223bb793
2011-05-04 23:16:34,373 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-04 23:16:34,385 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-04 23:16:34,389 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-04 23:16:34,393 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-04 23:16:34,397 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.801 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.243 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-04 23:16:35,854 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@8a2023] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@6c43da1b]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:303)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [outboundScheduleJobChannelAdapter.xml]; nested exception is java.io.FileNotFoundException: class path resource [outboundScheduleJobChannelAdapter.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:81)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1)
at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:280)
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:304)
... 30 more
Caused by: java.io.FileNotFoundException: class path resource [outboundScheduleJobChannelAdapter.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 39 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.211 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-04_23-16-36/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-04_23-16-36/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 34 seconds
[INFO] Finished at: Wed May 04 23:16:45 PDT 2011
[INFO] Final Memory: 45M/333M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: motec...@googlegroups.com
channel stopped
IRC notifier plugin: Sending notification to: #motech

Hudson Server

unread,
May 5, 2011, 11:19:25 AM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/73/changes>

Changes:

[Rob LaRubbio] A clean install works on my machine without this exclude, but not on hudson.

------------------------------------------
[...truncated 2 lines...]
Checkout:MOTECH Integration Test / <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/> - hudson.remoting.Channel@13295d4:motech.2paths.com
Using strategy: Default
Last Built Revision: Revision bcf22ce05e19e13169bcdf0e2d4822ad3554deeb (origin/master)
Checkout:MOTECH Integration Test / <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/> - hudson.remoting.LocalChannel@63435263
Fetching changes from the remote Git repository
Fetching upstream changes from g...@github.com:motech/MOTECH.git
Commencing build of Revision 501fd45808c2a679aebb0acf5c9f5871070ba016 (origin/master)
Checking out Revision 501fd45808c2a679aebb0acf5c9f5871070ba016 (origin/master)


Found mavenVersion 2.2.1 from file jar:file:/usr/local/bin/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
failed to transfer Unable to locate resource in repository
downloaded artifact http://nexus.motechproject.org/content/repositories/public//org/motechproject/motech-platform/0.1-SNAPSHOT/maven-metadata.xml

[MOTECH Integration Test] $ /usr/local/jdk/bin/java -cp /var/lib/hudson/maven-agent.jar:/var/lib/hudson/classworlds.jar hudson.maven.agent.Main /usr/local/bin/maven /var/lib/hudson/slave.jar /var/lib/hudson/maven-interceptor.jar 41298 /var/lib/hudson/maven2.1-interceptor.jar

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.motechproject.event.ClientEventRelayTest
2011-05-05 08:15:18,674 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.622 sec


Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.078 sec


Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 08:16:04,514 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 08:16:04,517 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 08:16:04,517 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=4
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.178 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 08:16:05,469 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 08:16:05,529 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 08:16:05,535 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 08:16:05,686 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 08:16:05,698 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 08:16:05,698 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 08:16:06,677 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 08:16:06,702 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 08:16:06,702 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 08:16:06,730 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 08:16:06,779 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 08:16:06,807 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223bdee2
2011-05-05 08:16:07,177 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 08:16:07,180 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 08:16:07,182 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 08:16:07,186 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 08:16:07,190 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.667 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.209 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 08:16:08,607 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@129dd6e2] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@388698fa]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.213 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

[HUDSON] Recording test resultsTests run: 4, Failures: 0, Errors: 1, Skipped: 0

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[INFO] [failsafe:verify {execution: default-cli}]


[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_08-16-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_08-16-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 35 seconds
[INFO] Finished at: Thu May 05 08:16:20 PDT 2011

Hudson Server

unread,
May 5, 2011, 11:49:32 AM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/74/changes>

Changes:

[Rob LaRubbio] Ok Hudson/cobertura. You want a test, you'll get a test.

------------------------------------------
[...truncated 5 lines...]


Checkout:MOTECH Integration Test / <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/> - hudson.remoting.LocalChannel@63435263
Fetching changes from the remote Git repository
Fetching upstream changes from g...@github.com:motech/MOTECH.git

Commencing build of Revision e345b3e41c5b261160586c1a44773cae9910d08a (origin/master)
Checking out Revision e345b3e41c5b261160586c1a44773cae9910d08a (origin/master)


Found mavenVersion 2.2.1 from file jar:file:/usr/local/bin/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs

[MOTECH Integration Test] $ /usr/local/jdk/bin/java -cp /var/lib/hudson/maven-agent.jar:/var/lib/hudson/classworlds.jar hudson.maven.agent.Main /usr/local/bin/maven /var/lib/hudson/slave.jar /var/lib/hudson/maven-interceptor.jar 51496 /var/lib/hudson/maven2.1-interceptor.jar

[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>


[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.motechproject.context.EventContextTest
2011-05-05 08:45:28,432 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
2011-05-05 08:45:28,433 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb SetEventRelay: null
2011-05-05 08:45:28,433 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.601 sec
Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.motechproject.event.ClientEventRelayTest
2011-05-05 08:45:28,499 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.04 sec
Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.motechproject.model.TestMotechAuditableDataObject


Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 08:46:12,871 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 08:46:12,874 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 08:46:12,874 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=4
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.502 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 08:46:14,045 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 08:46:14,100 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 08:46:14,101 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 08:46:14,177 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 08:46:14,184 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 08:46:14,184 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 08:46:15,122 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 08:46:15,138 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 08:46:15,138 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 08:46:15,167 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 08:46:15,204 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 08:46:15,257 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223c0513
2011-05-05 08:46:15,622 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 08:46:15,626 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 08:46:15,630 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 08:46:15,651 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 08:46:15,653 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.738 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.254 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 08:46:17,615 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7befc208] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@39abdac9]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.704 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Recording test results


[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_08-46-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_08-46-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 33 seconds
[INFO] Finished at: Thu May 05 08:46:27 PDT 2011
[INFO] Final Memory: 44M/333M

Hudson Server

unread,
May 5, 2011, 12:19:30 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/75/changes>

Changes:

[Rob LaRubbio] Let's try adding it as an ignore

[Rob LaRubbio] Let's try adding it as an ignore

------------------------------------------
[...truncated 5 lines...]
Checkout:MOTECH Integration Test / <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/> - hudson.remoting.LocalChannel@63435263
Fetching changes from the remote Git repository
Fetching upstream changes from g...@github.com:motech/MOTECH.git

Commencing build of Revision 2d5bc464c507a0afca492c9ce80a1393b9dda2b3 (origin/master)
Checking out Revision 2d5bc464c507a0afca492c9ce80a1393b9dda2b3 (origin/master)


Found mavenVersion 2.2.1 from file jar:file:/usr/local/bin/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs

[MOTECH Integration Test] $ /usr/local/jdk/bin/java -cp /var/lib/hudson/maven-agent.jar:/var/lib/hudson/classworlds.jar hudson.maven.agent.Main /usr/local/bin/maven /var/lib/hudson/slave.jar /var/lib/hudson/maven-interceptor.jar 42251 /var/lib/hudson/maven2.1-interceptor.jar

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.motechproject.context.EventContextTest
2011-05-05 09:15:20,666 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e GetEventRelay: null
2011-05-05 09:15:20,666 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e SetEventRelay: null
2011-05-05 09:15:20,666 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.734 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.motechproject.event.ClientEventRelayTest
2011-05-05 09:15:20,728 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec


Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.063 sec
Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec


Running org.motechproject.model.TestMotechAuditableDataObject
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 09:16:08,429 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 09:16:08,432 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 09:16:08,432 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=4
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.415 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 09:16:09,566 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 09:16:09,629 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 09:16:09,629 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 09:16:09,748 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 09:16:09,760 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 09:16:09,760 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 09:16:10,716 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 09:16:10,732 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 09:16:10,732 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 09:16:10,749 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 09:16:10,786 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 09:16:10,807 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223c2048
2011-05-05 09:16:11,247 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 09:16:11,250 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 09:16:11,257 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 09:16:11,262 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 09:16:11,272 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.814 sec
Running org.motechproject.core.AuditablePersistenceIT


Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.209 sec
Running org.motechproject.gateway.SchedulerGatewayIT

2011-05-05 09:16:12,813 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1e4bb369] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@7befc208]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.323 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_09-16-11/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_09-16-11/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 36 seconds
[INFO] Finished at: Thu May 05 09:16:24 PDT 2011

Hudson Server

unread,
May 5, 2011, 1:19:46 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/76/changes>

Changes:

[Rob LaRubbio] Let's try telling cobertura to clean up after itself

[Rob LaRubbio] Update parent pom name

[Rob LaRubbio] missed one pom

------------------------------------------
[...truncated 25 lines...]


[INFO] Motech Appointments API
[INFO] Motech Appointments
[INFO] TAMA API
[INFO] Motech Platform Decision Tree Common
[INFO] TAMA
[INFO] Motech Platform Decision Tree

[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------

[INFO] Building MOTECH


[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------

Downloading: http://nexus.motechproject.org/content/repositories/public/org/codehaus/mojo/cobertura-maven-plugin/2.5/cobertura-maven-plugin-2.5.pom
10K downloaded (cobertura-maven-plugin-2.5.pom)
Downloading: http://nexus.motechproject.org/content/repositories/public/org/codehaus/mojo/mojo-parent/28/mojo-parent-28.pom
25K downloaded (mojo-parent-28.pom)
Downloading: http://nexus.motechproject.org/content/repositories/public/org/codehaus/codehaus-parent/3/codehaus-parent-3.pom
4K downloaded (codehaus-parent-3.pom)
Downloading: http://nexus.motechproject.org/content/repositories/public/org/codehaus/mojo/cobertura-maven-plugin/2.5/cobertura-maven-plugin-2.5.jar
44K downloaded (cobertura-maven-plugin-2.5.jar)


[INFO] [clean:clean {execution: default-clean}]

[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]


[INFO] [failsafe:integration-test {execution: default-cli}]

[INFO] No tests to run.


[INFO] [failsafe:verify {execution: default-cli}]

[INFO] No tests to run.
[HUDSON] Recording test results
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech/builds/2011-05-05_10-16-21/archive/org.motechproject/motech/0.1-SNAPSHOT/pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
Running org.motechproject.core.TestMotechScheduledEvent


Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.motechproject.context.EventContextTest

2011-05-05 10:15:42,136 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
2011-05-05 10:15:42,137 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb SetEventRelay: null
2011-05-05 10:15:42,137 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.627 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.motechproject.event.ClientEventRelayTest

2011-05-05 10:15:42,189 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.036 sec


Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 10:16:33,241 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 10:16:33,243 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 10:16:33,244 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.607 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 10:16:34,436 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 10:16:34,505 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 10:16:34,506 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 10:16:34,586 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 10:16:34,594 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 10:16:34,595 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 10:16:34,839 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 10:16:34,873 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 10:16:34,873 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 10:16:34,889 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 10:16:34,923 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 10:16:34,970 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223c41f2
2011-05-05 10:16:35,411 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 10:16:35,420 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 10:16:35,430 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 10:16:35,459 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 10:16:35,470 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.183 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.292 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 10:16:36,964 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@29de6817] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@4883d37a]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.193 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_10-16-21/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_10-16-21/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 45 seconds
[INFO] Finished at: Thu May 05 10:16:44 PDT 2011
[INFO] Final Memory: 52M/480M

Hudson Server

unread,
May 5, 2011, 6:19:33 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/77/changes>

Changes:

[Igor] MOTECH-493. minor changes to Velocity template parameters.

------------------------------------------
[...truncated 17 lines...]
[INFO] MOTECH


[INFO] Motech Platform Common
[INFO] Motech Platform Server API
[INFO] Motech Platform Server IVR
[INFO] Motech Platform Server
[INFO] Motech Platform Scheduler
[INFO] Motech Outbox API
[INFO] Motech Outbox

[INFO] Motech Appointments API
[INFO] Motech Appointments
[INFO] TAMA API
[INFO] Motech Platform Decision Tree Common
[INFO] TAMA
[INFO] Motech Platform Decision Tree
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------
[INFO] Building MOTECH
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------

[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] No tests to run.
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] No tests to run.
[HUDSON] Recording test results

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech/builds/2011-05-05_15-16-13/archive/org.motechproject/motech/0.1-SNAPSHOT/pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.motechproject.context.EventContextTest
2011-05-05 15:15:39,630 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e GetEventRelay: null
2011-05-05 15:15:39,631 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e SetEventRelay: null
2011-05-05 15:15:39,631 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@360dc67e GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.836 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.motechproject.event.ClientEventRelayTest
2011-05-05 15:15:39,693 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.033 sec


Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 15:16:21,476 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 15:16:21,478 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 15:16:21,479 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.247 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 15:16:22,380 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 15:16:22,448 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 15:16:22,448 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 15:16:22,716 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 15:16:22,724 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 15:16:22,724 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 15:16:22,848 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 15:16:22,857 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 15:16:22,857 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 15:16:22,883 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 15:16:22,939 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 15:16:22,976 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223c50f8
2011-05-05 15:16:23,184 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 15:16:23,197 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 15:16:23,200 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 15:16:23,205 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 15:16:23,218 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.76 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.337 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 15:16:24,984 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1e4bb369] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@7befc208]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_15-16-13/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_15-16-13/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 35 seconds
[INFO] Finished at: Thu May 05 15:16:31 PDT 2011

Hudson Server

unread,
May 5, 2011, 7:19:37 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/78/changes>

Changes:

[Ricky] MOTECH-502,505 Added background music and some error handling

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech/builds/2011-05-05_16-16-12/archive/org.motechproject/motech/0.1-SNAPSHOT/pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.motechproject.context.EventContextTest
2011-05-05 16:15:37,808 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
2011-05-05 16:15:37,808 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb SetEventRelay: null
2011-05-05 16:15:37,809 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@426295eb GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.51 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.motechproject.event.ClientEventRelayTest

2011-05-05 16:15:37,833 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.04 sec


Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 16:16:23,743 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 16:16:23,745 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 16:16:23,745 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.453 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 16:16:24,922 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 16:16:24,971 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 16:16:24,971 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 16:16:25,062 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 16:16:25,087 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 16:16:25,087 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 16:16:26,014 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 16:16:26,029 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 16:16:26,030 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 16:16:26,048 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 16:16:26,072 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 16:16:26,109 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223e4929
2011-05-05 16:16:26,471 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 16:16:26,474 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 16:16:26,476 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 16:16:26,488 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 16:16:26,491 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.757 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.274 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 16:16:28,093 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@388698fa] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@ca56214]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.309 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_16-16-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_16-16-12/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 45 seconds
[INFO] Finished at: Thu May 05 16:16:35 PDT 2011
[INFO] Final Memory: 52M/479M

Hudson Server

unread,
May 5, 2011, 7:49:59 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/79/changes>

Changes:

[Igor] MOTECH-493. Integrate with TreeEventProcessingService - add send action before, after and transition.

[Igor] MOTECH-493. Add support for audiofiles in multiple languages.

[HUDSON] Recording test results[INFO] [failsafe:verify {execution: default-cli}]

[INFO] No tests to run.

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech/builds/2011-05-05_16-46-29/archive/org.motechproject/motech/0.1-SNAPSHOT/pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.motechproject.context.EventContextTest
2011-05-05 16:45:56,090 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@6f649b44 GetEventRelay: null
2011-05-05 16:45:56,091 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@6f649b44 SetEventRelay: null
2011-05-05 16:45:56,091 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@6f649b44 GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.744 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.motechproject.event.ClientEventRelayTest

2011-05-05 16:45:56,134 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.067 sec


Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.motechproject.model.TestMotechAuditableDataObject
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 16:46:44,373 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 16:46:44,375 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 16:46:44,376 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.596 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 16:46:45,473 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 16:46:45,542 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 16:46:45,543 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 16:46:45,684 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 16:46:45,718 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 16:46:45,723 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 16:46:46,351 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 16:46:46,360 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 16:46:46,360 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 16:46:46,398 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 16:46:46,479 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 16:46:46,514 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223e5da4
2011-05-05 16:46:46,727 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 16:46:46,734 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 16:46:46,897 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 16:46:46,900 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 16:46:46,933 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.603 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.235 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 16:46:48,619 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7befc208] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@39abdac9]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.45 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[HUDSON] Recording test results
[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_16-46-29/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_16-46-29/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 49 seconds
[INFO] Finished at: Thu May 05 16:46:57 PDT 2011
[INFO] Final Memory: 52M/480M

Hudson Server

unread,
May 5, 2011, 8:20:00 PM5/5/11
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/80/changes>

Changes:

[yyonkov] MOTECH-511: Solved polymorphic jackson & class loading issue with custom @JsonTypeIdResolver + a lot of integration efforts after Robs changes to get it going,

[Igor] MOTECH-493. Add treeName parameter.

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech/builds/2011-05-05_17-16-19/archive/org.motechproject/motech/0.1-SNAPSHOT/pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] Building Motech Platform Common
[INFO] task-segment: [clean, package, failsafe:integration-test, failsafe:verify]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 14 source files to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.gateway.StubOutboundEventGatewayTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.motechproject.core.TestMotechScheduledEvent
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.motechproject.context.EventContextTest
2011-05-05 17:15:56,936 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@56609959 GetEventRelay: null
2011-05-05 17:15:56,937 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@56609959 SetEventRelay: null
2011-05-05 17:15:56,937 INFO [org.motechproject.context.EventContext] EventContext: org.motechproject.context.EventContext@56609959 GetEventRelay: null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 sec


Running org.motechproject.model.MotechEventTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.motechproject.core.TestMotechSchedulerException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.motechproject.event.ClientEventRelayTest

2011-05-05 17:15:56,990 INFO [org.motechproject.event.ClientEventRelay] Sending event: foo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running org.motechproject.core.TestCronSchedulabeJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.motechproject.metrics.MultipleMetricsAgentImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.037 sec
Running org.motechproject.core.TestRunOnceSchedulableJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.motechproject.model.TestMotechAuditableDataObject
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec

Results :

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

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar>
[INFO] [failsafe:integration-test {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.metrics.MetricsIT

2011-05-05 17:16:48,465 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event Key=Value
2011-05-05 17:16:48,467 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=test.event2
2011-05-05 17:16:48,468 INFO [metrics] host=domU-12-31-39-0F-CD-91.compute-1.internal ip=10.193.206.95 metric=timed.event time=3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.583 sec
Running org.motechproject.core.MotechPersistenceIT
2011-05-05 17:16:49,639 DEBUG [org.motechproject.dao.RuleRepository] Generating DesignDocument for class org.motechproject.model.Rule
2011-05-05 17:16:49,713 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"ektorp_docrefs_audits" : {
"map" : "function(doc) { if(doc.lastUpdated && doc.dataObjectId) { emit([doc.dataObjectId, 'audits', doc.lastUpdated], null); } }"
},
"all" : {
"map" : "function(doc) { if(doc.content) {emit(null, doc._id)} }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Rule",
"_rev" : "1-e5ea42bb4273eedd143600100b66d058"
}

2011-05-05 17:16:49,714 DEBUG [org.motechproject.dao.RuleRepository] DesignDocument was unchanged. Database was not updated.
2011-05-05 17:16:49,782 DEBUG [org.motechproject.core.ActorRepository] Generating DesignDocument for class org.motechproject.core.Actor
2011-05-05 17:16:49,793 DEBUG [org.motechproject.core.ActorRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_tag" : {
"map" : "function(doc) {for (var i in doc.tags) {emit(doc.tags[i], doc._id);}}"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Actor"
}

2011-05-05 17:16:49,793 DEBUG [org.motechproject.core.ActorRepository] DesignDocument changed or new. Updating database
2011-05-05 17:16:50,746 DEBUG [org.motechproject.core.VisitRepository] Generating DesignDocument for class org.motechproject.core.Visit
2011-05-05 17:16:50,754 DEBUG [org.motechproject.core.VisitRepository] DesignDocument source:


{
"language" : "javascript",
"views" : {
"by_actorId" : {
"map" : "function(doc) { if(doc.actorId) {emit(doc.actorId, doc._id)} }"
},
"all" : {
"map" : "function(doc) { if (doc.actorId) { emit(doc.dateCreated, doc._id) } }"
}
},
"lists" : {
},
"shows" : {
},
"filters" : {
},
"_id" : "_design/Visit"
}

2011-05-05 17:16:50,754 DEBUG [org.motechproject.core.VisitRepository] DesignDocument changed or new. Updating database
2011-05-05 17:16:50,783 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Colin Firth
2011-05-05 17:16:50,807 INFO [org.motechproject.core.MotechPersistenceIT] Creating patient Natalie Portman
2011-05-05 17:16:50,893 INFO [org.motechproject.core.MotechPersistenceIT] Creating visit 3115c710b7d1506ec6e92ed0223e7f86
2011-05-05 17:16:51,239 INFO [org.motechproject.core.MotechPersistenceIT] Removing visit
2011-05-05 17:16:51,242 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Colin Firth
2011-05-05 17:16:51,244 INFO [org.motechproject.core.MotechPersistenceIT] Removing patient Natalie Portman
2011-05-05 17:16:51,258 INFO [org.motechproject.core.MotechPersistenceIT] Deleting patients database
2011-05-05 17:16:51,262 INFO [org.motechproject.core.MotechPersistenceIT] Deleting visits database
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.764 sec
Running org.motechproject.core.AuditablePersistenceIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.177 sec
Running org.motechproject.gateway.SchedulerGatewayIT
2011-05-05 17:16:52,779 ERROR [org.springframework.test.context.TestContextManager] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@ca56214] to prepare test instance [org.motechproject.gateway.SchedulerGatewayIT@3dca1588]

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347 sec <<< FAILURE!

Results :

Tests in error:
testMotechScheduler(org.motechproject.gateway.SchedulerGatewayIT): Failed to load ApplicationContext

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

[HUDSON] Recording test results[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[INFO] [failsafe:verify {execution: default-cli}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!

[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/pom.xml> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_17-16-19/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/motech-platform-common-0.1-SNAPSHOT.jar> to /var/lib/hudson/jobs/MOTECH Integration Test/modules/org.motechproject$motech-platform-common/builds/2011-05-05_17-16-19/archive/org.motechproject/motech-platform-common/0.1-SNAPSHOT/motech-platform-common-0.1-SNAPSHOT.jar


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://ci.motechproject.org/job/MOTECH%20Integration%20Test/ws/motech-platform-common/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 48 seconds
[INFO] Finished at: Thu May 05 17:16:59 PDT 2011
[INFO] Final Memory: 52M/479M

Reply all
Reply to author
Forward
0 new messages