Hi Karl - I think those tests were in error the other day, but the
build should be clean now (I run OS X, I haven't seen those failures
locally but I did at one point on the build server).
It is possible that is an OS X problem with those tests - are you
still seeing them? (I kind of assume many other environment variables,
never thought to blame OS X).
On Thu, Jan 29, 2009 at 1:56 PM, Karl Schwamb <karl.schwamb(a)gmail.com> wrote:
As a followup, I manually stepped into each subproject listed in the
Maven
Reactor list and was able to build, test, and install all components cleanly
(listed before AND after) except for
Drools::Process::Task which has the listed errors.
Thanks,
-Karl
On Tue, Jan 27, 2009 at 8:29 PM, Karl Schwamb <karl.schwamb(a)gmail.com>
wrote:
>
> My platform is OS X 10.5.6 running Java 1.5.0_16 and Maven 2.0.9. When I
> run Maven for a build I get no failures in the unit tests but I get numerous
> errors which leads to a build failure. The command line was simply
> mvn clean install
> The end of the JUnit report is:
> =====================
> Results :
> Tests in error:
>
> testTaskMultipleActors(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
> testTaskFail(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
> testTaskSkip(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
>
> testTaskAbortSkippable(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
>
> testTaskAbortNotSkippable(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
> testTaskData(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
>
>
testAddRemoveComment(org.drools.task.service.TaskServiceCommentsAndAttachmentsTest)
>
>
testAddRemoveAttachment(org.drools.task.service.TaskServiceCommentsAndAttachmentsTest)
> testLifeCycle(org.drools.task.service.TaskLifeCycleTest)
> testLifeCycleMultipleTasks(org.drools.task.service.TaskLifeCycleTest)
>
> testNewTaskWithNoPotentialOwners(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testNewTaskWithSinglePotentialOwner(org.drools.task.service.TaskServiceLifeCycleTest)
> testNewTaskWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testClaimWithMultiplePotentialOwners(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testStartFromReadyStateWithPotentialOwner(org.drools.task.service.TaskServiceLifeCycle\
> Test)
>
>
testStartFromReadyStateWithIncorrectPotentialOwner(org.drools.task.service.TaskService\
> LifeCycleTest)
> testStartFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testStartFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTes\
> t)
> testStop(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testStopWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testReleaseFromInprogress(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testReleaseFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testReleaseWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
> testSuspendFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testSuspendFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testSuspendFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleT\
> est)
> testResumeFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
> testResumeFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testResumeFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTe\
> st)
> testSkipFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
> testSkipFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
> testDelegateFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testDelegateFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testDelegateFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycle\
> Test)
> testForwardFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testForwardFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
>
>
testForwardFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleT\
> est)
> testComplete(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testCompleteWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testCompleteWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
> testFail(org.drools.task.service.TaskServiceLifeCycleTest)
>
> testFailWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
> testFailWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
> testSendWithStartandEndDeadline(org.drools.task.service.IcalTest)
> testSendWithStartDeadline(org.drools.task.service.IcalTest)
> testSendWithEndDeadline(org.drools.task.service.IcalTest)
> testSendWithNoDeadline(org.drools.task.service.IcalTest)
> testClaimEvent(org.drools.task.service.TaskServiceEventMessagingTest)
>
>
testDelayedEmailNotificationOnDeadline(org.drools.task.service.TaskServiceDeadlinesTes\
> t)
>
>
testDelayedReassignmentOnDeadline(org.drools.task.service.TaskServiceDeadlinesTest)
> testTasksOwnedQueryWithI18N(org.drools.task.service.TaskServiceTest)
> testPeopleAssignmentQueries(org.drools.task.service.TaskServiceTest)
> Tests run: 58, Failures: 0, Errors: 52, Skipped: 0
> =====================
> Looking at the trace I see a number of exceptions that look similar. Does
> the following exception indicate a root cause that may resolve this issue?
> Or do the above errors indicate another problem?
> Thanks!
> =====================
> ...
> Jan 27, 2009 7:57:17 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
> INFO: schema export complete
> Exception in thread "Thread-5" java.lang.RuntimeException: Server
> Exception with class c\
> lass org.drools.task.service.MinaTaskServer using port 9123
> at
> org.drools.task.service.BaseMinaServer.run(BaseMinaServer.java:38)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind(Native Method)
> at
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
> at
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> at
> org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor\
> .java:235)
> at
> org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor\
> .java:48)
> at
> org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(Abstra\
> ctPollingIoAcceptor.java:485)
> at
> org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPol\
> lingIoAcceptor.java:67)
> at
> org.apache.mina.core.polling.AbstractPollingIoAcceptor$Worker.run(AbstractPol\
> lingIoAcceptor.java:385)
> at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:5\
> 1)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.jav\
> a:650)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:67\
> 5)
> ... 1 more
> Jan 27, 2009 7:57:18 PM org.hibernate.impl.SessionFactoryImpl close
> [...]
> [ stack trace above repeated 4 more times]
> INFO: Mapping collection: org.drools.task.Notification.descriptions ->
> I18NText
> Jan 27, 2009 7:57:26 PM org.hibernate.cfg.annotations.CollectionBinder
> bindOneToManySeco\
> ndPass
> Tests run: 7, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 14.42 sec
> <<< FAILURE!
> Running org.drools.task.service.TaskServiceCommentsAndAttachmentsTest
> [... more intermittent exceptions with stack traces ...]
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev