qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-8194) [Protocol Tests] [AMQP 1.0] TransferTests seen to fail on Windows
Date Sat, 19 May 2018 20:13:00 GMT

    [ https://issues.apache.org/jira/browse/QPID-8194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481759#comment-16481759
] 

ASF subversion and git services commented on QPID-8194:
-------------------------------------------------------

Commit 711e00762b3e634ada35a8a4abf9ee0e1f800a82 in qpid-broker-j's branch refs/heads/master
from [~k-wall]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=711e007 ]

QPID-8194: [Protocol Tests] [AMQP 1.0] Fix test failure

InputHandler assumed that it was safe to mutate the bytes received from the wire after decoding
the performatives.  This is incorrect - the payload of payload carrying frames will be corrupted.
The issue happened to appear on Windows simply owing to the relative interleving of reads/writes
between the peers.


> [Protocol Tests] [AMQP 1.0] TransferTests seen to fail on Windows
> -----------------------------------------------------------------
>
>                 Key: QPID-8194
>                 URL: https://issues.apache.org/jira/browse/QPID-8194
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>            Reporter: Keith Wall
>            Priority: Major
>
> The following two TransferTests fail consistently on Windows,. 
>  *  TransferTest.receiveMixtureOfTransactionalAndNonTransactionalDeliveries
>  * TransferTest.receiveMultipleDeliveries
> In both cases, the tests fail as the latest delivery is decoded by the test harness.
 The tests fail in the same way on Appveyor and virtualised Windows 7 Enterprise.
> This could either be a bug in the test harness or production code, or both.
> [https://ci.appveyor.com/project/ApacheSoftwareFoundation/qpid-broker-j/build/45]
>   
> {noformat}
> org.apache.qpid.server.protocol.v1_0.type.AmqpErrorException: Invalid Message: Expected
type "section" but found "UnsignedInteger"
> at org.apache.qpid.server.protocol.v1_0.messaging.SectionDecoderImpl.parseAll(SectionDecoderImpl.java:62)
> at org.apache.qpid.tests.protocol.v1_0.MessageDecoder.parse(MessageDecoder.java:86)
> at org.apache.qpid.tests.protocol.v1_0.MessageDecoder.getData(MessageDecoder.java:171)
> at org.apache.qpid.tests.protocol.v1_0.Interaction.decodeLatestDelivery(Interaction.java:1084)
> at org.apache.qpid.tests.protocol.v1_0.messaging.TransferTest.receiveMixtureOfTransactionalAndNonTransactionalDeliveries(TransferTest.java:1072)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.apache.qpid.tests.utils.QpidTestRunner.runChild(QpidTestRunner.java:84)
> at org.apache.qpid.tests.utils.QpidTestRunner.runChild(QpidTestRunner.java:28)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.qpid.tests.utils.QpidTestRunner.run(QpidTestRunner.java:59)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70){noformat}
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message