Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8194

[Broker-J][Protocol Tests] [AMQP 1.0] TransferTests seen to fail on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.1.0
    • Broker-J
    • None

    Description

      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

        

      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)

       

       

       

       

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: