Thanks for the reply Michael. You are correct that tips doesn't appear to
have the same errors -- however...
I pulled version 25084 today to refresh the code. After a "mvn clean" and
this:
mvn -Declipse -Ddocumentation clean install -DlocalEclipseDrop=/Users/\
kbs/Work/Colonnade/Projects/Drools/jbossrules/local-Eclipse-drop-mirror
I get the following error:
==========================
Running org.drools.integrationtests.MultithreadTest
thread-6 failed: null
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
at java.util.HashMap$ValueIterator.next(HashMap.java:871)
at
org.drools.reteoo.EntryPointNode.updateSink(EntryPointNode.java:283)
at org.drools.reteoo.ObjectTypeNode.attach(ObjectTypeNode.java:278)
at
org.drools.reteoo.builder.PatternBuilder.attachObjectTypeNode(Pattern\
Builder.java:234)
at
org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java\
:93)
at
org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(O\
bjectTypeConfigurationRegistry.java:58)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.\
java:805)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.\
java:744)
at
org.drools.integrationtests.MultithreadTest$RulebaseRunner.run(Multit\
hreadTest.java:126)
at java.lang.Thread.run(Thread.java:613)
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.942 sec
<<< FA\
ILURE!
==========================
After a "mvn clean" and another run attempt with the same command line
above, I get this error:
==========================
Running org.drools.process.TimerTest
Timer 1 triggered
Timer 2 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Timer 3 triggered
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.719 sec
<<< FA\
ILURE!
==========================
Here's a dump of the env vars in my local bash shell as you mention that
might be an issue:
declare -x Apple_PubSub_Socket_Render="/tmp/launch-43ny71/Render"
declare -x COLORFGBG="0;15"
declare -x COMMAND_MODE="legacy"
declare -x DISPLAY="/tmp/launch-y7Hoyf/:0"
declare -x HOME="/Users/kbs"
declare -x
JAVA15="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home"
declare -x
JAVA16="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
declare -x LANG="en_US.UTF-8"
declare -x LC_COLLATE="en_US.UTF-8"
declare -x LC_CTYPE="en_US.UTF-8"
declare -x LC_MESSAGES="en_US.UTF-8"
declare -x LC_MONETARY="en_US.UTF-8"
declare -x LC_NUMERIC="en_US.UTF-8"
declare -x LC_TIME="en_US.UTF-8"
declare -x LOGNAME="kbs"
declare -x M2="/Users/kbs/Work/Colonnade/Tools/Maven/apache-maven-2.0.9/bin"
declare -x
M2_HOME="/Users/kbs/Work/Colonnade/Tools/Maven/apache-maven-2.0.9"
declare -x MANPATH="/usr/share/man:/usr/local/share/man:/usr/X11/man"
declare -x MAVEN_OPTS="-Xmx512m"
declare -x MVN209="/Users/kbs/Work/Colonnade/Tools/Maven/apache-maven-2.0.9"
declare -x OLDPWD
declare -x
PATH="/Users/kbs/Work/Colonnade/Tools/Maven/apache-maven-2.0.9/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
declare -x PWD="/Users/kbs"
declare -x SECURITYSESSIONID="b2cee0"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/tmp/launch-2cyRMW/Listeners"
declare -x TERM="xterm"
declare -x TERM_PROGRAM="iTerm.app"
declare -x TMPDIR="/var/folders/UN/UNgBMscOE5K79fYvGWoboE+++TI/-Tmp-/"
declare -x USER="kbs"
declare -x __CF_USER_TEXT_ENCODING="0x1F5:0:0"
Thanks, Karl
On Tue, Feb 3, 2009 at 2:45 PM, Michael Neale <michael.neale(a)gmail.com>wrote:
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
>
>
--
Michael D Neale
home:
www.michaelneale.net
blog:
michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev