D:\Users\crolke\git\amqpnetlite\TransactionTestProgram\bin\Debug>TransactionTestProgram.exe amqp://qpidd:5672 test.q1 [05:16:01.776] SEND AMQP 0 1.0.0 [05:16:01.786] SEND (ch=0) open(container-id:b78e41dc-2684-4d4b-9968-be6f43e8a4a4,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:01.791] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:01.794] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:01.798] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:01.828] RECV AMQP 0 1 0 0 [05:16:01.843] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:01.845] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:01.848] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:02.801] SEND (ch=0) detach(handle:0,closed:True) [05:16:03.055] RECV (ch=0) detach(handle:0,closed:True) [05:16:03.058] SEND (ch=0) end() [05:16:03.110] RECV (ch=0) end() [05:16:03.112] SEND (ch=0) close() [05:16:03.165] RECV (ch=0) close() [05:16:03.220] SEND AMQP 0 1.0.0 [05:16:03.220] SEND (ch=0) open(container-id:fd584c30-5d89-4f9f-8664-2de41d32f7ae,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:03.221] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:03.222] SEND (ch=0) attach(name:sender-TransactedPosting,handle:0,role:False,source:source(),target:target(address:test.q1),initial-delivery-count:0) TransactedPosting nMsgs= 5 Creating transaction scope Writing message with id commit0 [05:16:03.238] SEND (ch=1) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:03.239] SEND (ch=1) attach(name:controller-link-3ac03,handle:0,role:False,source:source(),target:coordinator(),initial-delivery-count:0) [05:16:03.277] RECV AMQP 0 1 0 0 [05:16:03.277] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:03.277] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:03.278] RECV (ch=0) attach(name:sender-TransactedPosting,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(address:test.q1,durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:03.278] RECV (ch=0) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:03.291] RECV (ch=1) begin(remote-channel:1,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:03.295] RECV (ch=1) attach(name:controller-link-3ac03,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:03.296] RECV (ch=1) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:03.300] SEND (ch=1) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,batchable:True) payload 7 [05:16:03.352] RECV (ch=1) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:03.353] RECV (ch=1) disposition(role:True,first:0,last:0,settled:True,state:declared(txn-id:3078376637623563303139303130)) [05:16:03.358] SEND (ch=0) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:03.410] RECV (ch=0) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:03.411] RECV (ch=0) disposition(role:True,first:0,last:0,settled:True,state:accepted()) Writing message with id commit1 [05:16:03.456] SEND (ch=0) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:03.507] RECV (ch=0) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:03.508] RECV (ch=0) disposition(role:True,first:1,last:1,settled:True,state:accepted()) Writing message with id commit2 [05:16:03.550] SEND (ch=0) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:03.602] RECV (ch=0) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:03.603] RECV (ch=0) disposition(role:True,first:2,last:2,settled:True,state:accepted()) Writing message with id commit3 [05:16:03.654] SEND (ch=0) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:03.708] RECV (ch=0) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) [05:16:03.709] RECV (ch=0) disposition(role:True,first:3,last:3,settled:True,state:accepted()) Writing message with id commit4 [05:16:03.737] SEND (ch=0) transfer(handle:0,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:03.803] RECV (ch=0) flow(next-in-id:2,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:5,link-credit:500,drain:False) [05:16:03.804] RECV (ch=0) disposition(role:True,first:4,last:4,settled:True,state:accepted()) Calling scope Complete() [05:16:03.829] SEND (ch=1) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,batchable:True) payload 26 [05:16:03.892] RECV (ch=1) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:03.893] RECV (ch=1) disposition(role:True,first:1,last:1,settled:True,state:accepted()) Creating transaction scope Writing message with id rollback5 [05:16:03.930] SEND (ch=1) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,batchable:True) payload 7 [05:16:03.983] RECV (ch=1) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:03.984] RECV (ch=1) disposition(role:True,first:2,last:2,settled:True,state:declared(txn-id:3078376637623563303139303130)) [05:16:04.016] SEND (ch=0) transfer(handle:0,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 54 [05:16:04.070] RECV (ch=0) flow(next-in-id:3,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:6,link-credit:500,drain:False) [05:16:04.071] RECV (ch=0) disposition(role:True,first:5,last:5,settled:True,state:accepted()) Writing message with id rollback6 [05:16:04.109] SEND (ch=0) transfer(handle:0,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 54 [05:16:04.162] RECV (ch=0) flow(next-in-id:4,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:7,link-credit:500,drain:False) [05:16:04.163] RECV (ch=0) disposition(role:True,first:6,last:6,settled:True,state:accepted()) Writing message with id rollback7 [05:16:04.180] SEND (ch=0) transfer(handle:0,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 54 [05:16:04.232] RECV (ch=0) flow(next-in-id:5,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:8,link-credit:500,drain:False) [05:16:04.233] RECV (ch=0) disposition(role:True,first:7,last:7,settled:True,state:accepted()) Writing message with id rollback8 [05:16:04.303] SEND (ch=0) transfer(handle:0,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 54 [05:16:04.355] RECV (ch=0) flow(next-in-id:6,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:9,link-credit:500,drain:False) [05:16:04.356] RECV (ch=0) disposition(role:True,first:8,last:8,settled:True,state:accepted()) Writing message with id rollback9 [05:16:04.371] SEND (ch=0) transfer(handle:0,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 54 [05:16:04.422] RECV (ch=0) flow(next-in-id:7,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:10,link-credit:500,drain:False) [05:16:04.423] RECV (ch=0) disposition(role:True,first:9,last:9,settled:True,state:accepted()) Exiting transaction scope without calling complete [05:16:04.427] SEND (ch=1) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,batchable:True) payload 26 Creating transaction scope Writing message with id commit0 [05:16:04.431] SEND (ch=1) transfer(handle:0,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,batchable:True) payload 7 [05:16:04.480] RECV (ch=1) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) [05:16:04.481] RECV (ch=1) disposition(role:True,first:3,last:3,settled:True,state:accepted()) [05:16:04.483] RECV (ch=1) flow(next-in-id:2,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:5,link-credit:500,drain:False) [05:16:04.484] RECV (ch=1) disposition(role:True,first:4,last:4,settled:True,state:declared(txn-id:3078376637623563303139303130)) [05:16:04.486] SEND (ch=0) transfer(handle:0,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:04.542] RECV (ch=0) flow(next-in-id:8,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:11,link-credit:500,drain:False) [05:16:04.543] RECV (ch=0) disposition(role:True,first:10,last:10,settled:True,state:accepted()) Writing message with id commit1 [05:16:04.547] SEND (ch=0) transfer(handle:0,delivery-id:11,delivery-tag:0000000B,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:04.600] RECV (ch=0) flow(next-in-id:9,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:12,link-credit:500,drain:False) [05:16:04.600] RECV (ch=0) disposition(role:True,first:11,last:11,settled:True,state:accepted()) Writing message with id commit2 [05:16:04.603] SEND (ch=0) transfer(handle:0,delivery-id:12,delivery-tag:0000000C,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:04.657] RECV (ch=0) flow(next-in-id:10,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:13,link-credit:500,drain:False) [05:16:04.658] RECV (ch=0) disposition(role:True,first:12,last:12,settled:True,state:accepted()) Writing message with id commit3 [05:16:04.661] SEND (ch=0) transfer(handle:0,delivery-id:13,delivery-tag:0000000D,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:04.712] RECV (ch=0) flow(next-in-id:11,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:14,link-credit:500,drain:False) [05:16:04.713] RECV (ch=0) disposition(role:True,first:13,last:13,settled:True,state:accepted()) Writing message with id commit4 [05:16:04.716] SEND (ch=0) transfer(handle:0,delivery-id:14,delivery-tag:0000000E,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563303139303130),batchable:True) payload 52 [05:16:04.767] RECV (ch=0) flow(next-in-id:12,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:15,link-credit:500,drain:False) [05:16:04.768] RECV (ch=0) disposition(role:True,first:14,last:14,settled:True,state:accepted()) Calling scope Complete() [05:16:04.771] SEND (ch=1) transfer(handle:0,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,batchable:True) payload 26 [05:16:04.824] RECV (ch=1) flow(next-in-id:3,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:6,link-credit:500,drain:False) [05:16:04.825] RECV (ch=1) disposition(role:True,first:5,last:5,settled:True,state:accepted()) Receiving messages that should have been accepted under Txn scope [05:16:04.829] SEND (ch=0) attach(name:receiver-TransactedPosting,handle:1,role:True,source:source(address:test.q1),target:target()) [05:16:04.830] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:12,out-window:2147483647,handle:1,delivery-count:0,link-credit:200,drain:False) [05:16:04.884] RECV (ch=0) attach(name:receiver-TransactedPosting,handle:1,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:04.889] RECV (ch=0) transfer(handle:1,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,more:False) payload 63 [05:16:04.895] RECV (ch=0) transfer(handle:1,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,more:False) payload 63 [05:16:04.896] RECV (ch=0) transfer(handle:1,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,more:False) payload 63 [05:16:04.896] receive: commit0 [05:16:04.902] RECV (ch=0) transfer(handle:1,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,more:False) payload 63 [05:16:04.904] SEND (ch=0) disposition(role:True,first:0,settled:True,state:accepted()) [05:16:04.910] RECV (ch=0) transfer(handle:1,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,more:False) payload 63 [05:16:04.922] RECV (ch=0) transfer(handle:1,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,more:False) payload 65 [05:16:04.925] RECV (ch=0) transfer(handle:1,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,more:False) payload 65 [05:16:04.918] receive: commit1 [05:16:04.931] RECV (ch=0) transfer(handle:1,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,more:False) payload 65 [05:16:04.933] SEND (ch=0) disposition(role:True,first:1,settled:True,state:accepted()) [05:16:04.942] receive: commit2 [05:16:04.940] RECV (ch=0) transfer(handle:1,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,more:False) payload 65 [05:16:04.950] SEND (ch=0) disposition(role:True,first:2,settled:True,state:accepted()) [05:16:04.959] receive: commit3 [05:16:04.957] RECV (ch=0) transfer(handle:1,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,more:False) payload 65 [05:16:04.962] SEND (ch=0) disposition(role:True,first:3,settled:True,state:accepted()) [05:16:04.970] RECV (ch=0) transfer(handle:1,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,more:False) payload 63 [05:16:04.976] receive: commit4 [05:16:04.978] RECV (ch=0) transfer(handle:1,delivery-id:11,delivery-tag:0000000B,message-format:0,settled:False,more:False) payload 63 [05:16:04.985] SEND (ch=0) disposition(role:True,first:4,settled:True,state:accepted()) [05:16:04.987] RECV (ch=0) transfer(handle:1,delivery-id:12,delivery-tag:0000000C,message-format:0,settled:False,more:False) payload 63 [05:16:04.997] receive: rollback5 [05:16:05.004] SEND (ch=0) disposition(role:True,first:5,settled:True,state:accepted()) [05:16:05.004] RECV (ch=0) transfer(handle:1,delivery-id:13,delivery-tag:0000000D,message-format:0,settled:False,more:False) payload 63 MessageId does not start with 'commit' : rollback5 [05:16:05.013] RECV (ch=0) transfer(handle:1,delivery-id:14,delivery-tag:0000000E,message-format:0,settled:False,more:False) payload 63 [05:16:05.029] receive: rollback6 [05:16:05.033] SEND (ch=0) disposition(role:True,first:6,settled:True,state:accepted()) MessageId does not start with 'commit' : rollback6 [05:16:05.035] receive: rollback7 [05:16:05.038] SEND (ch=0) disposition(role:True,first:7,settled:True,state:accepted()) MessageId does not start with 'commit' : rollback7 [05:16:05.040] receive: rollback8 [05:16:05.049] SEND (ch=0) disposition(role:True,first:8,settled:True,state:accepted()) MessageId does not start with 'commit' : rollback8 [05:16:05.057] receive: rollback9 [05:16:05.058] SEND (ch=0) disposition(role:True,first:9,settled:True,state:accepted()) MessageId does not start with 'commit' : rollback9 [05:16:05.069] SEND (ch=0) close() [05:16:05.120] RECV (ch=0) close() [05:16:05.174] SEND AMQP 0 1.0.0 [05:16:05.175] SEND (ch=0) open(container-id:ce35826b-b2e4-40ae-a8fb-7a1a5ef4acb2,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:05.177] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:05.178] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:05.180] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:05.229] RECV AMQP 0 1 0 0 [05:16:05.229] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:05.231] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:05.233] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:05.236] RECV (ch=0) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,more:False) payload 65 [05:16:05.242] RECV (ch=0) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,more:False) payload 65 DIAG: Drained leftover message with Id: commit0 [05:16:05.251] SEND (ch=0) disposition(role:True,first:0,settled:True,state:accepted()) [05:16:05.250] RECV (ch=0) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,more:False) payload 65 [05:16:05.260] RECV (ch=0) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,more:False) payload 65 DIAG: Drained leftover message with Id: commit1 [05:16:05.270] SEND (ch=0) disposition(role:True,first:1,settled:True,state:accepted()) [05:16:05.269] RECV (ch=0) transfer(handle:0,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,more:False) payload 65 DIAG: Drained leftover message with Id: commit2 [05:16:05.287] SEND (ch=0) disposition(role:True,first:2,settled:True,state:accepted()) DIAG: Drained leftover message with Id: commit3 [05:16:05.289] SEND (ch=0) disposition(role:True,first:3,settled:True,state:accepted()) DIAG: Drained leftover message with Id: commit4 [05:16:05.297] SEND (ch=0) disposition(role:True,first:4,settled:True,state:accepted()) [05:16:06.306] SEND (ch=0) detach(handle:0,closed:True) [05:16:06.645] RECV (ch=0) detach(handle:0,closed:True) [05:16:06.646] SEND (ch=0) end() [05:16:06.697] RECV (ch=0) end() [05:16:06.698] SEND (ch=0) close() [05:16:06.749] RECV (ch=0) close() Messages left in broker at end of test. TransactedPosting exiting with status FAIL Test: TransactedRetiring nMsgs= 10 Pretest - draining target queue... [05:16:06.840] SEND AMQP 0 1.0.0 [05:16:06.840] SEND (ch=0) open(container-id:4ab9c1f5-de35-4dea-b5e5-126a55b2b52c,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:06.842] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:06.843] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:06.846] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:06.893] RECV AMQP 0 1 0 0 [05:16:06.894] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:06.897] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:06.898] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:07.846] SEND (ch=0) detach(handle:0,closed:True) [05:16:08.004] RECV (ch=0) detach(handle:0,closed:True) [05:16:08.005] SEND (ch=0) end() [05:16:08.057] RECV (ch=0) end() [05:16:08.058] SEND (ch=0) close() [05:16:08.109] RECV (ch=0) close() [05:16:08.165] SEND AMQP 0 1.0.0 [05:16:08.167] SEND (ch=0) open(container-id:5ac8b311-d2d7-4f87-81bd-bb880e685800,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:08.168] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:08.169] SEND (ch=0) attach(name:sender-TransactedRetiring,handle:0,role:False,source:source(),target:target(address:test.q1),initial-delivery-count:0) Send N+1 with no transaction scope Sending message with Id msg0 [05:16:08.217] RECV AMQP 0 1 0 0 [05:16:08.221] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:08.222] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:08.222] RECV (ch=0) attach(name:sender-TransactedRetiring,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(address:test.q1,durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:08.224] RECV (ch=0) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:08.225] SEND (ch=0) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.277] RECV (ch=0) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:08.278] RECV (ch=0) disposition(role:True,first:0,last:0,settled:True,state:accepted()) Sending message with Id msg1 [05:16:08.281] SEND (ch=0) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.332] RECV (ch=0) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:08.332] RECV (ch=0) disposition(role:True,first:1,last:1,settled:True,state:accepted()) Sending message with Id msg2 [05:16:08.336] SEND (ch=0) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.390] RECV (ch=0) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:08.390] RECV (ch=0) disposition(role:True,first:2,last:2,settled:True,state:accepted()) Sending message with Id msg3 [05:16:08.394] SEND (ch=0) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.444] RECV (ch=0) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) [05:16:08.445] RECV (ch=0) disposition(role:True,first:3,last:3,settled:True,state:accepted()) Sending message with Id msg4 [05:16:08.448] SEND (ch=0) transfer(handle:0,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.499] RECV (ch=0) flow(next-in-id:2,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:5,link-credit:500,drain:False) [05:16:08.500] RECV (ch=0) disposition(role:True,first:4,last:4,settled:True,state:accepted()) Sending message with Id msg5 [05:16:08.504] SEND (ch=0) transfer(handle:0,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.557] RECV (ch=0) flow(next-in-id:3,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:6,link-credit:500,drain:False) [05:16:08.557] RECV (ch=0) disposition(role:True,first:5,last:5,settled:True,state:accepted()) Sending message with Id msg6 [05:16:08.561] SEND (ch=0) transfer(handle:0,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.612] RECV (ch=0) flow(next-in-id:4,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:7,link-credit:500,drain:False) [05:16:08.613] RECV (ch=0) disposition(role:True,first:6,last:6,settled:True,state:accepted()) Sending message with Id msg7 [05:16:08.616] SEND (ch=0) transfer(handle:0,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.667] RECV (ch=0) flow(next-in-id:5,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:8,link-credit:500,drain:False) [05:16:08.667] RECV (ch=0) disposition(role:True,first:7,last:7,settled:True,state:accepted()) Sending message with Id msg8 [05:16:08.669] SEND (ch=0) transfer(handle:0,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.723] RECV (ch=0) flow(next-in-id:6,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:9,link-credit:500,drain:False) [05:16:08.724] RECV (ch=0) disposition(role:True,first:8,last:8,settled:True,state:accepted()) Sending message with Id msg9 [05:16:08.727] SEND (ch=0) transfer(handle:0,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,batchable:True) payload 50 [05:16:08.779] RECV (ch=0) flow(next-in-id:7,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:10,link-credit:500,drain:False) [05:16:08.780] RECV (ch=0) disposition(role:True,first:9,last:9,settled:True,state:accepted()) Sending message with Id msg10 [05:16:08.784] SEND (ch=0) transfer(handle:0,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,batchable:True) payload 51 [05:16:08.837] RECV (ch=0) flow(next-in-id:8,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:11,link-credit:500,drain:False) [05:16:08.837] RECV (ch=0) disposition(role:True,first:10,last:10,settled:True,state:accepted()) [05:16:08.840] SEND (ch=0) attach(name:receiver-TransactedRetiring,handle:1,role:True,source:source(address:test.q1),target:target()) Receive N messages but don't accept any [05:16:08.844] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:8,out-window:2147483647,handle:1,delivery-count:0,link-credit:200,drain:False) [05:16:08.894] RECV (ch=0) attach(name:receiver-TransactedRetiring,handle:1,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:08.900] RECV (ch=0) transfer(handle:1,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,more:False) payload 61 [05:16:08.901] RECV (ch=0) transfer(handle:1,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,more:False) payload 61 [05:16:08.902] RECV (ch=0) transfer(handle:1,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,more:False) payload 61 [05:16:08.904] RECV (ch=0) transfer(handle:1,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,more:False) payload 61 [05:16:08.905] RECV (ch=0) transfer(handle:1,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,more:False) payload 61 [05:16:08.906] RECV (ch=0) transfer(handle:1,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,more:False) payload 61 [05:16:08.907] RECV (ch=0) transfer(handle:1,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,more:False) payload 61 [05:16:08.908] RECV (ch=0) transfer(handle:1,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,more:False) payload 61 Received: msg0 Received: msg1 Received: msg2 Received: msg3 Received: msg4 Received: msg5 [05:16:08.909] RECV (ch=0) transfer(handle:1,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,more:False) payload 61 [05:16:08.917] RECV (ch=0) transfer(handle:1,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,more:False) payload 61 Received: msg6 Received: msg7 Received: msg8 Received: msg9 [05:16:08.919] RECV (ch=0) transfer(handle:1,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,more:False) payload 62 Create txn scope and accept half the messages Accepting to-be-committed messageId: msg0 [05:16:08.942] SEND (ch=1) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:08.950] SEND (ch=1) attach(name:controller-link-4a344,handle:0,role:False,source:source(),target:coordinator(),initial-delivery-count:0) [05:16:08.994] RECV (ch=1) begin(remote-channel:1,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:09.002] RECV (ch=1) attach(name:controller-link-4a344,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:09.003] RECV (ch=1) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:09.003] SEND (ch=1) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,batchable:True) payload 7 [05:16:09.058] RECV (ch=1) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:09.058] RECV (ch=1) disposition(role:True,first:0,last:0,settled:True,state:declared(txn-id:3078376637623738306363613230)) [05:16:09.060] SEND (ch=0) disposition(role:True,first:0,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-committed messageId: msg1 [05:16:09.063] SEND (ch=0) disposition(role:True,first:1,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-committed messageId: msg2 [05:16:09.066] SEND (ch=0) disposition(role:True,first:2,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-committed messageId: msg3 [05:16:09.068] SEND (ch=0) disposition(role:True,first:3,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-committed messageId: msg4 [05:16:09.070] SEND (ch=0) disposition(role:True,first:4,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Txn scope complete [05:16:09.073] SEND (ch=1) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,batchable:True) payload 26 [05:16:09.112] RECV (ch=0) disposition(role:False,first:0,last:0,settled:True) [05:16:09.114] RECV (ch=0) disposition(role:False,first:1,last:1,settled:True) [05:16:09.117] RECV (ch=0) disposition(role:False,first:2,last:2,settled:True) [05:16:09.119] RECV (ch=0) disposition(role:False,first:3,last:3,settled:True) [05:16:09.124] RECV (ch=0) disposition(role:False,first:4,last:4,settled:True) [05:16:09.125] RECV (ch=1) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:09.126] RECV (ch=1) disposition(role:True,first:1,last:1,settled:True,state:accepted()) Create txn scope and accept other half BUT do that in a failed txn scope that should roll back. Accepting to-be-rolled-back messageId: msg5 [05:16:09.132] SEND (ch=1) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,batchable:True) payload 7 [05:16:09.184] RECV (ch=1) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:09.185] RECV (ch=1) disposition(role:True,first:2,last:2,settled:True,state:declared(txn-id:3078376637623738306363613230)) [05:16:09.187] SEND (ch=0) disposition(role:True,first:5,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-rolled-back messageId: msg6 [05:16:09.189] SEND (ch=0) disposition(role:True,first:6,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-rolled-back messageId: msg7 [05:16:09.192] SEND (ch=0) disposition(role:True,first:7,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-rolled-back messageId: msg8 [05:16:09.194] SEND (ch=0) disposition(role:True,first:8,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Accepting to-be-rolled-back messageId: msg9 [05:16:09.197] SEND (ch=0) disposition(role:True,first:9,settled:False,state:txn-state(txn-id:3078376637623738306363613230,outcome:accepted())) Close txn scope without calling complete [05:16:09.199] SEND (ch=1) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,batchable:True) payload 26 after rollback, messages should be still acquired Receiving a single message Releasing last message received, the extra one [05:16:09.236] SEND (ch=0) disposition(role:True,first:10,settled:True,state:released()) Creating txn scope to accept 2nd half for real this time [05:16:09.239] RECV (ch=0) disposition(role:False,first:5,last:5,settled:True) [05:16:09.246] RECV (ch=0) disposition(role:False,first:6,last:6,settled:True) [05:16:09.254] RECV (ch=0) disposition(role:False,first:7,last:7,settled:True) Accepting to-be-committed messageId msg5 Accepting to-be-committed messageId msg6 [05:16:09.272] RECV (ch=0) disposition(role:False,first:8,last:8,settled:True) Accepting to-be-committed messageId msg7 [05:16:09.281] RECV (ch=0) disposition(role:False,first:9,last:9,settled:True) Accepting to-be-committed messageId msg8 [05:16:09.291] RECV (ch=1) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) Accepting to-be-committed messageId msg9 Txn scope Complete() [05:16:09.305] RECV (ch=1) disposition(role:True,first:3,last:3,settled:True,state:accepted()) Receive last message again [05:16:09.316] RECV (ch=0) transfer(handle:1,delivery-id:11,delivery-tag:0000000B,message-format:0,settled:False,more:False) payload 62 Acccept last message [05:16:09.324] SEND (ch=0) disposition(role:True,first:11,settled:True,state:accepted()) [05:16:09.333] SEND (ch=0) detach(handle:1,closed:True) [05:16:09.387] RECV (ch=0) detach(handle:1,closed:True) [05:16:09.387] SEND (ch=0) detach(handle:0,closed:True) [05:16:09.441] RECV (ch=0) detach(handle:0,closed:True) [05:16:09.443] SEND (ch=0) end() [05:16:09.494] RECV (ch=0) end() [05:16:09.494] SEND (ch=0) close() [05:16:09.546] RECV (ch=0) close() [05:16:09.605] SEND AMQP 0 1.0.0 [05:16:09.605] SEND (ch=0) open(container-id:18bb762a-ca95-44a4-8694-aae11c18d8bd,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:09.608] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:09.609] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:09.609] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:09.658] RECV AMQP 0 1 0 0 [05:16:09.658] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:09.660] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:09.662] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:10.612] SEND (ch=0) detach(handle:0,closed:True) [05:16:10.742] RECV (ch=0) detach(handle:0,closed:True) [05:16:10.743] SEND (ch=0) end() [05:16:10.795] RECV (ch=0) end() [05:16:10.795] SEND (ch=0) close() [05:16:10.847] RECV (ch=0) close() TransactedRetiring exiting with status PASS Test: TransactedRetiringAndPosting nMsgs= 10 Pretest - draining target queue... [05:16:10.912] SEND AMQP 0 1.0.0 [05:16:10.912] SEND (ch=0) open(container-id:872e005b-c30f-425c-a88b-be00b46f2071,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:10.914] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:10.916] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:10.917] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:10.971] RECV AMQP 0 1 0 0 [05:16:10.972] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:10.973] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:10.975] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:11.919] SEND (ch=0) detach(handle:0,closed:True) [05:16:11.987] RECV (ch=0) detach(handle:0,closed:True) [05:16:11.988] SEND (ch=0) end() [05:16:12.040] RECV (ch=0) end() [05:16:12.041] SEND (ch=0) close() [05:16:12.095] RECV (ch=0) close() [05:16:12.150] SEND AMQP 0 1.0.0 [05:16:12.151] SEND (ch=0) open(container-id:047fc66d-9acd-44eb-90ff-7447c18813f8,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:12.152] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:12.154] SEND (ch=0) attach(name:sender-TransactedRetiringAndPosting,handle:0,role:False,source:source(),target:target(address:test.q1),initial-delivery-count:0) Send N messages with no transaction scope Sending message with Id msg0 [05:16:12.206] RECV AMQP 0 1 0 0 [05:16:12.206] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:12.207] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:12.210] RECV (ch=0) attach(name:sender-TransactedRetiringAndPosting,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(address:test.q1,durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:12.211] RECV (ch=0) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:12.212] SEND (ch=0) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.267] RECV (ch=0) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:12.268] RECV (ch=0) disposition(role:True,first:0,last:0,settled:True,state:accepted()) Sending message with Id msg1 [05:16:12.270] SEND (ch=0) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.323] RECV (ch=0) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:12.323] RECV (ch=0) disposition(role:True,first:1,last:1,settled:True,state:accepted()) Sending message with Id msg2 [05:16:12.326] SEND (ch=0) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.378] RECV (ch=0) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:12.378] RECV (ch=0) disposition(role:True,first:2,last:2,settled:True,state:accepted()) Sending message with Id msg3 [05:16:12.382] SEND (ch=0) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.435] RECV (ch=0) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) [05:16:12.436] RECV (ch=0) disposition(role:True,first:3,last:3,settled:True,state:accepted()) Sending message with Id msg4 [05:16:12.439] SEND (ch=0) transfer(handle:0,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.490] RECV (ch=0) flow(next-in-id:2,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:5,link-credit:500,drain:False) [05:16:12.491] RECV (ch=0) disposition(role:True,first:4,last:4,settled:True,state:accepted()) Sending message with Id msg5 [05:16:12.494] SEND (ch=0) transfer(handle:0,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.545] RECV (ch=0) flow(next-in-id:3,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:6,link-credit:500,drain:False) [05:16:12.545] RECV (ch=0) disposition(role:True,first:5,last:5,settled:True,state:accepted()) Sending message with Id msg6 [05:16:12.549] SEND (ch=0) transfer(handle:0,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.600] RECV (ch=0) flow(next-in-id:4,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:7,link-credit:500,drain:False) [05:16:12.601] RECV (ch=0) disposition(role:True,first:6,last:6,settled:True,state:accepted()) Sending message with Id msg7 [05:16:12.604] SEND (ch=0) transfer(handle:0,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.655] RECV (ch=0) flow(next-in-id:5,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:8,link-credit:500,drain:False) [05:16:12.655] RECV (ch=0) disposition(role:True,first:7,last:7,settled:True,state:accepted()) Sending message with Id msg8 [05:16:12.659] SEND (ch=0) transfer(handle:0,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.716] RECV (ch=0) flow(next-in-id:6,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:9,link-credit:500,drain:False) [05:16:12.717] RECV (ch=0) disposition(role:True,first:8,last:8,settled:True,state:accepted()) Sending message with Id msg9 [05:16:12.719] SEND (ch=0) transfer(handle:0,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,batchable:True) payload 60 [05:16:12.770] RECV (ch=0) flow(next-in-id:7,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:10,link-credit:500,drain:False) [05:16:12.771] RECV (ch=0) disposition(role:True,first:9,last:9,settled:True,state:accepted()) Receive two messages [05:16:12.774] SEND (ch=0) attach(name:receiver-TransactedRetiringAndPosting,handle:1,role:True,source:source(address:test.q1),target:target()) [05:16:12.775] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:7,out-window:2147483647,handle:1,delivery-count:0,link-credit:2,drain:False) [05:16:12.825] RECV (ch=0) attach(name:receiver-TransactedRetiringAndPosting,handle:1,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:12.828] RECV (ch=0) transfer(handle:1,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,more:False) payload 71 [05:16:12.829] RECV (ch=0) transfer(handle:1,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,more:False) payload 71 Received message1 id:msg0 Received message2 id:msg1 ack message1 and send a new message in a txn [05:16:12.835] SEND (ch=1) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:12.835] SEND (ch=1) attach(name:controller-link-844f8,handle:0,role:False,source:source(),target:coordinator(),initial-delivery-count:0) [05:16:12.888] RECV (ch=1) begin(remote-channel:1,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:12.889] RECV (ch=1) attach(name:controller-link-844f8,handle:0,role:True,snd-settle-mode:2,rcv-settle-mode:0,source:source(durable:0,timeout:0,dynamic:False),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:12.891] RECV (ch=1) flow(next-in-id:4294967293,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:0,link-credit:500,drain:False) [05:16:12.893] SEND (ch=1) transfer(handle:0,delivery-id:0,delivery-tag:00000000,message-format:0,settled:False,batchable:True) payload 7 [05:16:12.945] RECV (ch=1) flow(next-in-id:4294967294,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:1,link-credit:500,drain:False) [05:16:12.945] RECV (ch=1) disposition(role:True,first:0,last:0,settled:True,state:declared(txn-id:3078376637623563306466636130)) [05:16:12.948] SEND (ch=0) disposition(role:True,first:0,settled:False,state:txn-state(txn-id:3078376637623563306466636130,outcome:accepted())) [05:16:12.949] SEND (ch=0) transfer(handle:0,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563306466636130),batchable:True) payload 61 [05:16:13.001] RECV (ch=0) flow(next-in-id:8,in-window:2147483647,next-out-id:2,out-window:2147483647,handle:0,delivery-count:11,link-credit:500,drain:False) [05:16:13.001] RECV (ch=0) disposition(role:False,first:0,last:0,settled:True) [05:16:13.003] RECV (ch=0) disposition(role:True,first:10,last:10,settled:True,state:accepted()) Sent message id: msg10 Transaction Complete() [05:16:13.008] SEND (ch=1) transfer(handle:0,delivery-id:1,delivery-tag:00000001,message-format:0,settled:False,batchable:True) payload 26 [05:16:13.060] RECV (ch=1) flow(next-in-id:4294967295,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:2,link-credit:500,drain:False) [05:16:13.061] RECV (ch=1) disposition(role:True,first:1,last:1,settled:True,state:accepted()) ack message2 and send a new message in a txn but abort the txn [05:16:13.064] SEND (ch=1) transfer(handle:0,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,batchable:True) payload 7 [05:16:13.121] RECV (ch=1) flow(next-in-id:0,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:3,link-credit:500,drain:False) [05:16:13.122] RECV (ch=1) disposition(role:True,first:2,last:2,settled:True,state:declared(txn-id:3078376637623563306466636130)) [05:16:13.124] SEND (ch=0) disposition(role:True,first:1,settled:False,state:txn-state(txn-id:3078376637623563306466636130,outcome:accepted())) [05:16:13.126] SEND (ch=0) transfer(handle:0,delivery-id:11,delivery-tag:0000000B,message-format:0,settled:False,state:txn-state(txn-id:3078376637623563306466636130),batchable:True) payload 71 [05:16:13.175] RECV (ch=0) disposition(role:False,first:1,last:1,settled:True) [05:16:13.178] RECV (ch=0) flow(next-in-id:9,in-window:2147483647,next-out-id:2,out-window:2147483647,handle:0,delivery-count:12,link-credit:500,drain:False) [05:16:13.179] RECV (ch=0) disposition(role:True,first:11,last:11,settled:True,state:accepted()) Sent message id: msg11 [05:16:13.181] SEND (ch=1) transfer(handle:0,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,batchable:True) payload 26 Release message 2 Receive and Accept all messages. Expect msg1..msg(N+1) [05:16:13.185] SEND (ch=0) flow(next-in-id:2,in-window:2048,next-out-id:9,out-window:2147483647,handle:1,delivery-count:2,link-credit:10,drain:False) [05:16:13.233] RECV (ch=1) flow(next-in-id:1,in-window:2147483647,next-out-id:0,out-window:2147483647,handle:0,delivery-count:4,link-credit:500,drain:False) [05:16:13.233] RECV (ch=1) disposition(role:True,first:3,last:3,settled:True,state:accepted()) [05:16:13.241] RECV (ch=0) transfer(handle:1,delivery-id:2,delivery-tag:00000002,message-format:0,settled:False,more:False) payload 71 [05:16:13.241] RECV (ch=0) transfer(handle:1,delivery-id:3,delivery-tag:00000003,message-format:0,settled:False,more:False) payload 71 [05:16:13.243] RECV (ch=0) transfer(handle:1,delivery-id:4,delivery-tag:00000004,message-format:0,settled:False,more:False) payload 71 [05:16:13.244] RECV (ch=0) transfer(handle:1,delivery-id:5,delivery-tag:00000005,message-format:0,settled:False,more:False) payload 71 [05:16:13.245] RECV (ch=0) transfer(handle:1,delivery-id:6,delivery-tag:00000006,message-format:0,settled:False,more:False) payload 71 [05:16:13.241] SEND (ch=0) disposition(role:True,first:2,settled:True,state:accepted()) ERROR: Expected sequence is msg1 but received msg2 [05:16:13.248] SEND (ch=0) disposition(role:True,first:3,settled:True,state:accepted()) ERROR: Expected sequence is msg2 but received msg3 [05:16:13.250] SEND (ch=0) disposition(role:True,first:4,settled:True,state:accepted()) ERROR: Expected sequence is msg3 but received msg4 [05:16:13.252] SEND (ch=0) disposition(role:True,first:5,settled:True,state:accepted()) [05:16:13.246] RECV (ch=0) transfer(handle:1,delivery-id:7,delivery-tag:00000007,message-format:0,settled:False,more:False) payload 71 ERROR: Expected sequence is msg4 but received msg5 [05:16:13.255] RECV (ch=0) transfer(handle:1,delivery-id:8,delivery-tag:00000008,message-format:0,settled:False,more:False) payload 71 [05:16:13.264] RECV (ch=0) transfer(handle:1,delivery-id:9,delivery-tag:00000009,message-format:0,settled:False,more:False) payload 71 [05:16:13.263] SEND (ch=0) disposition(role:True,first:6,settled:True,state:accepted()) ERROR: Expected sequence is msg5 but received msg6 [05:16:13.273] SEND (ch=0) disposition(role:True,first:7,settled:True,state:accepted()) [05:16:13.271] RECV (ch=0) transfer(handle:1,delivery-id:10,delivery-tag:0000000A,message-format:0,settled:False,more:False) payload 72 ERROR: Expected sequence is msg6 but received msg7 [05:16:13.290] RECV (ch=0) transfer(handle:1,delivery-id:11,delivery-tag:0000000B,message-format:0,settled:False,more:False) payload 71 [05:16:13.293] SEND (ch=0) disposition(role:True,first:8,settled:True,state:accepted()) ERROR: Expected sequence is msg7 but received msg8 [05:16:13.301] SEND (ch=0) disposition(role:True,first:9,settled:True,state:accepted()) ERROR: Expected sequence is msg8 but received msg9 [05:16:13.325] SEND (ch=0) disposition(role:True,first:10,settled:True,state:accepted()) ERROR: Expected sequence is msg9 but received msg10 [05:16:13.328] SEND (ch=0) disposition(role:True,first:11,settled:True,state:accepted()) ERROR: Expected sequence is msg10 but received msg0 [05:16:13.332] SEND (ch=0) close() [05:16:13.397] RECV (ch=0) close() [05:16:13.458] SEND AMQP 0 1.0.0 [05:16:13.458] SEND (ch=0) open(container-id:e2433bfb-707f-4d80-9e38-6e29c7bede6e,host-name:qpidd,max-frame-size:262144,channel-max:256) [05:16:13.460] SEND (ch=0) begin(next-outgoing-id:4294967293,incoming-window:2048,outgoing-window:2048,handle-max:4294967295) [05:16:13.462] SEND (ch=0) attach(name:DrainTarget,handle:0,role:True,source:source(address:test.q1),target:target()) [05:16:13.463] SEND (ch=0) flow(next-in-id:0,in-window:2048,next-out-id:4294967293,out-window:2048,handle:0,delivery-count:0,link-credit:200,drain:False) [05:16:13.511] RECV AMQP 0 1 0 0 [05:16:13.511] RECV (ch=0) open(container-id:bef2af11-fb01-49e5-872b-da3327a67294,channel-max:256,offered-capabilities:[ANONYMOUS-RELAY],properties:[platform:Linux,product:qpid-cpp,version:1.37.0,host:plicit]) [05:16:13.515] RECV (ch=0) begin(remote-channel:0,next-outgoing-id:0,incoming-window:2147483647,outgoing-window:2147483647) [05:16:13.516] RECV (ch=0) attach(name:DrainTarget,handle:0,role:False,snd-settle-mode:2,rcv-settle-mode:0,source:source(address:test.q1,durable:0,timeout:0,dynamic:False,distribution-mode:move),target:target(durable:0,timeout:0,dynamic:False),initial-delivery-count:0,max-message-size:0) [05:16:14.464] SEND (ch=0) detach(handle:0,closed:True) [05:16:14.735] RECV (ch=0) detach(handle:0,closed:True) [05:16:14.736] SEND (ch=0) end() [05:16:14.787] RECV (ch=0) end() [05:16:14.788] SEND (ch=0) close() [05:16:14.840] RECV (ch=0) close() TransactedRetiringAndPosting exiting with status FAIL D:\Users\crolke\git\amqpnetlite\TransactionTestProgram\bin\Debug> The broker shows: plicit /home/chug> qpidd --auth no --queue-pattern test 2017-01-18 17:11:05 [Broker] notice Broker (pid=22599) start-up 2017-01-18 17:11:05 [Security] notice SSL plugin not enabled, you must set --ssl-cert-db to enable it. 2017-01-18 17:11:05 [Store] notice Linear Store: Store module initialized; store-dir=/home/chug/.qpidd 2017-01-18 17:11:05 [Store] warning Message store plugin: No storage providers available. 2017-01-18 17:11:05 [Broker] notice SASL disabled: No Authentication Performed 2017-01-18 17:11:05 [Network] notice Listening on TCP/TCP6 port 5672 2017-01-18 17:11:42 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:42 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:42 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:42 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:42 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:43 [Broker] error Transaction not found for id: 0x7f7b5c019010 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:48 [Broker] error Transaction not found for id: 0x7f7b780cca20 2017-01-18 17:11:48 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:51 [Broker] error Transaction not found for id: 0x7f7b5c0dfca0 2017-01-18 17:11:51 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:51 [Broker] error Transaction not found for id: 0x7f7b5c0dfca0 2017-01-18 17:11:52 [Broker] error Transaction not found for id: 0x7f7b5c0dfca0 2017-01-18 17:11:52 [Broker] warning Unhandled disposition: 52 2017-01-18 17:11:52 [Broker] error Transaction not found for id: 0x7f7b5c0dfca0