Kim sent to wrong list ---- forwarding
Carl.

--------------

I notice that about half the time the maven tests hang. Consecutive runs either pass or hang (which I have to terminate). I make no other changes from run to run - I just run "mvn". Sometimes consecutive runs pass, hang, pass, hang, etc. but not always.

Is is possible that there is some sort of left-over state/condition/file/process that may be interfering with tests? I searched for running brokers, etc., but I did not see anything.

When it works, I get the normal test passed message. When it hangs I get (always the same message):

<snip>
Running org.apache.qpid.test.unit.client.forwardall.CombinedTest
Starting 2 services...
Starting client...
Received 1 of 2 responses.
<hang>

Other times, where I got completely normal results on previous runs, several tests produce error messages, but the test still passes. When this happens (about 1 run in 5 or 6), I get:

<snip>
Running org.apache.qpid.test.unit.client.channelclose.ChannelCloseOkTest
pool-16-thread-4 2006-12-07 16:27:03,633 ERROR 
[qpid.server.protocol.AMQPFastProtocolHandler] Exception caught 
inAMQProtocolSession(anonymous(7912507)), closing session explictly: 
java.lang.IllegalStateException: Handed undecoded ByteBuffer buf = 
HeapBuffer[pos=0 lim=0 cap=0: empty]
java.lang.IllegalStateException: Handed undecoded ByteBuffer buf = 
HeapBuffer[pos=0 lim=0 cap=0: empty]
       at 
org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:198)
       at 
org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
       at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
       at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
       at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
       at org.apache.qpid.pool.Event.process(Event.java:80)
       at org.apache.qpid.pool.Job.processAll(Job.java:81)
       at org.apache.qpid.pool.Job.run(Job.java:103)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
<repeated several times>
.. closing
<snip>

but continues to a successful pass message.

Not being active on the java side for a little while, these may be development-in-progress errors, or they may be tests interacting with each other in some way. I hope I am not raising a well-known issue or a red herring... However, my "red flag" is based on the idea that consecutive tests under otherwise identical conditions should produce identical results.

Ideas?

Kim

Reply via email to