Test failures in java/client tests seem to be intermittent. I got this one:

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
Running org.apache.qpid.test.unit.basic.PropertyValueTest
Completed without failure
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1158)
        at 
org.apache.qpid.server.queue.AMQMessage.decrementReference(AMQMessage.java:409)
        at 
org.apache.qpid.server.ack.UnacknowledgedMessage.discard(UnacknowledgedMessage.java:51)
        at 
org.apache.qpid.server.txn.NonTransactionalContext.acknowledgeMessage(NonTransactionalContext.java:184)
        at 
org.apache.qpid.server.ack.UnacknowledgedMessageMapImpl.acknowledgeMessage(UnacknowledgedMessageMapImpl.java:151)
        at 
org.apache.qpid.server.AMQChannel.acknowledgeMessage(AMQChannel.java:650)
        at 
org.apache.qpid.server.handler.BasicAckMethodHandler.methodReceived(BasicAckMethodHandler.java:64)
        at 
org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:222)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.methodFrameReceived(AMQMinaProtocolSession.java:308)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.frameReceived(AMQMinaProtocolSession.java:215)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived(AMQMinaProtocolSession.java:193)
        at 
org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:206)
        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.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
        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)State
manager received error notification[Current State:CONNECTION_OPEN]:
org.apache.qpid.server.queue.MessageCleanupException: Reference count
for message id 242 has gone below 0.
org.apache.qpid.server.queue.MessageCleanupException: Reference count
for message id 242 has gone below 0.
        at 
org.apache.qpid.server.queue.AMQMessage.decrementReference(AMQMessage.java:414)
        at 
org.apache.qpid.server.ack.UnacknowledgedMessage.discard(UnacknowledgedMessage.java:51)
        at 
org.apache.qpid.server.txn.NonTransactionalContext.acknowledgeMessage(NonTransactionalContext.java:184)
        at 
org.apache.qpid.server.ack.UnacknowledgedMessageMapImpl.acknowledgeMessage(UnacknowledgedMessageMapImpl.java:151)
        at 
org.apache.qpid.server.AMQChannel.acknowledgeMessage(AMQChannel.java:650)
        at 
org.apache.qpid.server.handler.BasicAckMethodHandler.methodReceived(BasicAckMethodHandler.java:64)
        at 
org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:222)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.methodFrameReceived(AMQMinaProtocolSession.java:308)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.frameReceived(AMQMinaProtocolSession.java:215)
        at 
org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived(AMQMinaProtocolSession.java:193)
        at 
org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:206)
        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.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
        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.PoolingFilter.messageReceived(PoolingFilter.java:145)
        at 
org.apache.mina.filter.ReferenceCountingIoFilter.messageReceived(ReferenceCountingIoFilter.java:96)
        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$ReceivedEvent.process(Event.java:53)
        at org.apache.qpid.pool.Job.processAll(Job.java:80)
        at org.apache.qpid.pool.Job.run(Job.java:102)
        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)
Exception caught inAMQProtocolSession(anonymous(13028654)), 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:210)
        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$ReceivedEvent.process(Event.java:53)
        at org.apache.qpid.pool.Job.processAll(Job.java:80)
        at org.apache.qpid.pool.Job.run(Job.java:102)
        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)
Exception caught inAMQProtocolSession(anonymous(13028654)), closing
session explictly: java.lang.IllegalStateException: Handed undecoded
ByteBuffer buf = HeapBuffer[pos=0 lim=45 cap=45: 01 00 01 00 00 00 25
00 14 00 28 00 C8 1A 4A 4D 53 20 63 6C 69 65 6E 74 20 63 6C 6F 73 69
6E 67 20 63 68 61 6E 6E 65 6C 00 00 00 00 CE]
java.lang.IllegalStateException: Handed undecoded ByteBuffer buf =
HeapBuffer[pos=0 lim=45 cap=45: 01 00 01 00 00 00 25 00 14 00 28 00 C8
1A 4A 4D 53 20 63 6C 69 65 6E 74 20 63 6C 6F 73 69 6E 67 20 63 68 61
6E 6E 65 6C 00 00 00 00 CE]
        at 
org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:210)
        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$ReceivedEvent.process(Event.java:53)
        at org.apache.qpid.pool.Job.processAll(Job.java:80)
        at org.apache.qpid.pool.Job.run(Job.java:102)
        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)
Exception caught inAMQProtocolSession(anonymous(13028654)), 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:210)
        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$ReceivedEvent.process(Event.java:53)
        at org.apache.qpid.pool.Job.processAll(Job.java:80)
        at org.apache.qpid.pool.Job.run(Job.java:102)
        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)

        at 
org.apache.qpid.pool.PoolingFilter.messageReceived(PoolingFilter.java:145)
        at 
org.apache.mina.filter.ReferenceCountingIoFilter.messageReceived(ReferenceCountingIoFilter.java:96)
        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$ReceivedEvent.process(Event.java:53)
        at org.apache.qpid.pool.Job.processAll(Job.java:80)
        at org.apache.qpid.pool.Job.run(Job.java:102)
        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)
Exception caught by protocol handler:
org.apache.qpid.AMQTimeoutException: Server did not respond in a
timely fashion [error code 408: Request Timeout]
org.apache.qpid.AMQTimeoutException: Server did not respond in a
timely fashion [error code 408: Request Timeout]
        at 
org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:112)
        at 
org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:456)
        at 
org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:482)
        at 
org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:476)
        at org.apache.qpid.client.AMQSession.declareQueue(AMQSession.java:1341)
        at 
org.apache.qpid.client.AMQSession.registerConsumer(AMQSession.java:1915)
        at 
org.apache.qpid.client.AMQSession.resubscribeConsumers(AMQSession.java:2007)
        at org.apache.qpid.client.AMQSession.resubscribe(AMQSession.java:1985)
        at 
org.apache.qpid.client.AMQConnection.resubscribeSessions(AMQConnection.java:1131)
        at 
org.apache.qpid.client.failover.FailoverHandler.run(FailoverHandler.java:137)
        at java.lang.Thread.run(Thread.java:595)
command exit code: -1

On 3/6/07, Martin Ritchie <[EMAIL PROTECTED]> wrote:
On 05/03/07, Alan Conway <[EMAIL PROTECTED]> wrote:
> After a long holiday on the 0-9 branch I'm back on the trunk, and I'm
> fairly appalled at what I find.
>
> 1. python tests totally broken due to a typo introduced by
> r510060 | ritchiem | 2007-02-21 10:47:17 -0500 (Wed, 21 Feb 2007)

Sorry, I like many of the Java developers don't run the python tests
with enough regularity. As you say integrating the python tests with
mvn will sort that out.

> 2. After fixing the typo multiple python tests still fail and then hang
> with java broker. They also hang with C++ broker.
>
> 3. One mvn test fails for Java broker.

Which one? I get a clean head build on the Java. The java broker does
have a couple of occasionally errors that we have still to track down
that cause intermittent problems. Makes debugging very hard.

> I need help to get the trunk back into working order so we can start
> merging branch work. I'll look at python tests on C++, I need help from
> the people who have been committing to the trunk on Java to fix all the
> errors.
>
> I'm very concerned about how the trunk got into this state, please
> committers exercise some discipline. All tests should pass on trunk at
> all times.

Totally agree!

> * If there are any tests failing for a project DO NOT COMMIT ANYTHING
> except fixes for those failures.
> * C++ changes must pass "make check" (which includes python tests)

What do I need to build the C++ on windows?

> * Java changes must pass mvn tests AND the python tests (I suggest they
> be automated as part of mvn tests.)

I shall look in to that getting the tests running with mvn. I'll
create a JIRA for it first

> * XML changes must pass python tests against BOTH brokers.
> * No idea about the other languages but I assume they have test suites.
>
> Please folks, lets keep the code base clean.

Perhaps a unified build system that can be run from the top level to
ensure everything works is what we need.


--
Martin Ritchie

Reply via email to