[ 
https://issues.apache.org/jira/browse/DISPATCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Ross updated DISPATCH-964:
------------------------------
    Description: 
When auto-links are closed as a result of a management delete of an auto-link 
object, the detach frame carries the error "qd:routed-link-lost".  This is 
incorrect since these are not even routed links.  These detaches should carry 
no error.  This defect causes the following symptom:

There is a test called test_06_manage_autolinks in system_tests_autolinks.py. 
The test tries to create 5 auto links and delete 5 auto links. Upon deletion it 
expects 5 detaches to arrive but sometimes receives less than 5 detaches 
leading to test failure. Upon examining the frame trace, it looks like the test 
is closing a connection upon receiving a detach with an error. Proton might be 
closing the connection because it does not know how to handle the error. Here 
is the frame trace from the test

 
{noformat}
test_06_manage_autolinks (system_tests_autolinks.AutolinkTest) ... 
[0x55f6d2763de0]:  -> SASL
[0x55f6d2770dc0]:  -> SASL
[0x55f6d2763de0]:  <- SASL
[0x55f6d2763de0]:0 <- @sasl-mechanisms(64) 
[sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
[0x55f6d2763de0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
initial-response=b"anonymous@localhost.localdomain"]
[0x55f6d2770dc0]:  <- SASL
[0x55f6d2770dc0]:0 <- @sasl-mechanisms(64) 
[sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
[0x55f6d2770dc0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
initial-response=b"anonymous@localhost.localdomain"]
[0x55f6d2763de0]:0 <- @sasl-outcome(68) [code=0]
[0x55f6d2763de0]:  -> AMQP
[0x55f6d2763de0]:0 -> @open(16) [container-id="container.new", 
hostname="0.0.0.0", channel-max=32767]
[0x55f6d2770dc0]:0 <- @sasl-outcome(68) [code=0]
[0x55f6d2770dc0]:  -> AMQP
[0x55f6d2770dc0]:0 -> @open(16) [container-id="container.new", 
hostname="0.0.0.0", channel-max=32767]
[0x55f6d2770dc0]:0 -> @begin(17) [next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2770dc0]:0 -> @attach(18) 
[name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=true], target=@target(41) [durable=0, timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 -> @attach(18) [name="container.new-$management", handle=1, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
[durable=0, timeout=0, dynamic=false], target=@target(41) 
[address="$management", durable=0, timeout=0, dynamic=false], 
initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 -> @flow(19) [incoming-window=2147483647, 
next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, 
link-credit=10, drain=false]
[0x55f6d2763de0]:  <- AMQP
[0x55f6d2763de0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
channel-max=32767, idle-time-out=60000, 
offered-capabilities=:"ANONYMOUS-RELAY", 
properties={:product="qpid-dispatch-router", :version="1.0.0"}]
[0x55f6d2770dc0]:  <- AMQP
[0x55f6d2770dc0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
channel-max=32767, idle-time-out=60000, 
offered-capabilities=:"ANONYMOUS-RELAY", 
properties={:product="qpid-dispatch-router", :version="1.0.0"}]
[0x55f6d2770dc0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2770dc0]:0 <- @attach(18) 
[name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
[address="amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_", durable=0, timeout=0, 
dynamic=true], target=@target(41) [durable=0, timeout=0, dynamic=false], 
initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 <- @attach(18) [name="container.new-$management", handle=1, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="$management", 
durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
max-message-size=0]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=0, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=0, 
delivery-tag=b"1", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.0"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=1, 
delivery-tag=b"2", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.1"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=2, 
delivery-tag=b"3", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.2"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=3, 
delivery-tag=b"4", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.3"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=4, 
delivery-tag=b"5", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.4"
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=5, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=5, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=0, last=4, 
settled=true, state=@accepted(36) []]
[0x55f6d2763de0]:0 <- @begin(17) [next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.0", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.1", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.2", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.3", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.4", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @begin(17) [remote-channel=0, next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.0", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.1", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.2", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.3", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.4", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=0, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=2, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=3, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=4, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=5, 
delivery-tag=b"6", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=6, 
delivery-tag=b"7", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=7, 
delivery-tag=b"8", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=8, 
delivery-tag=b"9", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=9, 
delivery-tag=b"10", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=0, 
delivery-tag=b"\x00\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.0\xa1\x08identity\xa1\x0212\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.0\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0213\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=1, 
delivery-tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.1\xa1\x08identity\xa1\x0214\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.1\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0215\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=2, 
delivery-tag=b"\x02\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.2\xa1\x08identity\xa1\x0216\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.2\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0217\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=3, 
delivery-tag=b"\x03\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.3\xa1\x08identity\xa1\x0218\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.3\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0219\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=4, 
delivery-tag=b"\x04\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.4\xa1\x08identity\xa1\x0220\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.4\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0221\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=5, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=5, link-credit=9, drain=false]
[0x55f6d2763de0]:0 <- @detach(22) [handle=0, closed=true, error=@error(29) 
[condition=:"qd:routed-link-lost", description="Connectivity to the peer 
container was lost"]]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=248, drain=false]
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=5, last=7, 
settled=true, state=@accepted(36) []]
[0x55f6d2763de0]:0 -> @detach(22) [handle=0, closed=true]
[0x55f6d2763de0]:0 -> @close(24) []
[0x55f6d2763de0]:  -> EOS
[0x55f6d2763de0]:0 <- @close(24) []
[0x55f6d2763de0]:  <- EOS
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=249, drain=false]
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=5, 
delivery-tag=b"\x05\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=8, settled=true, 
state=@accepted(36) []]
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=6, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=6, link-credit=9, drain=false]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=6, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=6, 
delivery-tag=b"\x06\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=7, 
delivery-tag=b"\x07\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=8, 
delivery-tag=b"\x08\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=9, 
delivery-tag=b"\x09\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=9, settled=true, 
state=@accepted(36) []]
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=10, link-credit=9, drain=false]
[0x55f6d2770dc0]:0 -> (EMPTY FRAME)
[0x55f6d2770dc0]:0 -> @close(24) []
[0x55f6d2770dc0]:  -> EOS
[0x55f6d2770dc0]:0 <- @close(24) []
[0x55f6d2770dc0]:  <- EOS
FAIL

======================================================================
FAIL: test_06_manage_autolinks (system_tests_autolinks.AutolinkTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_autolinks.py", line 
190, in test_06_manage_autolinks
    self.assertEqual(None, test.error)
AssertionError: None != 'Timeout Expired: n_created=5 n_attached=5 n_deleted=5 
n_detached=1'

----------------------------------------------------------------------
Ran 1 test in 60.153s
{noformat}

  was:
There is a test called test_06_manage_autolinks in system_tests_autolinks.py. 
The test tries to create 5 auto links and delete 5 auto links. Upon deletion it 
expects 5 detaches to arrive but sometimes receives less than 5 detaches 
leading to test failure. Upon examining the frame trace, it looks like the test 
is closing a connection upon receiving a detach with an error. Proton might be 
closing the connection because it does not know how to handle the error. Here 
is the frame trace from the test

 
{noformat}
test_06_manage_autolinks (system_tests_autolinks.AutolinkTest) ... 
[0x55f6d2763de0]:  -> SASL
[0x55f6d2770dc0]:  -> SASL
[0x55f6d2763de0]:  <- SASL
[0x55f6d2763de0]:0 <- @sasl-mechanisms(64) 
[sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
[0x55f6d2763de0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
initial-response=b"anonymous@localhost.localdomain"]
[0x55f6d2770dc0]:  <- SASL
[0x55f6d2770dc0]:0 <- @sasl-mechanisms(64) 
[sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
[0x55f6d2770dc0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
initial-response=b"anonymous@localhost.localdomain"]
[0x55f6d2763de0]:0 <- @sasl-outcome(68) [code=0]
[0x55f6d2763de0]:  -> AMQP
[0x55f6d2763de0]:0 -> @open(16) [container-id="container.new", 
hostname="0.0.0.0", channel-max=32767]
[0x55f6d2770dc0]:0 <- @sasl-outcome(68) [code=0]
[0x55f6d2770dc0]:  -> AMQP
[0x55f6d2770dc0]:0 -> @open(16) [container-id="container.new", 
hostname="0.0.0.0", channel-max=32767]
[0x55f6d2770dc0]:0 -> @begin(17) [next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2770dc0]:0 -> @attach(18) 
[name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=true], target=@target(41) [durable=0, timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 -> @attach(18) [name="container.new-$management", handle=1, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
[durable=0, timeout=0, dynamic=false], target=@target(41) 
[address="$management", durable=0, timeout=0, dynamic=false], 
initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 -> @flow(19) [incoming-window=2147483647, 
next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, 
link-credit=10, drain=false]
[0x55f6d2763de0]:  <- AMQP
[0x55f6d2763de0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
channel-max=32767, idle-time-out=60000, 
offered-capabilities=:"ANONYMOUS-RELAY", 
properties={:product="qpid-dispatch-router", :version="1.0.0"}]
[0x55f6d2770dc0]:  <- AMQP
[0x55f6d2770dc0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
channel-max=32767, idle-time-out=60000, 
offered-capabilities=:"ANONYMOUS-RELAY", 
properties={:product="qpid-dispatch-router", :version="1.0.0"}]
[0x55f6d2770dc0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2770dc0]:0 <- @attach(18) 
[name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
[address="amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_", durable=0, timeout=0, 
dynamic=true], target=@target(41) [durable=0, timeout=0, dynamic=false], 
initial-delivery-count=0, max-message-size=0]
[0x55f6d2770dc0]:0 <- @attach(18) [name="container.new-$management", handle=1, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="$management", 
durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
max-message-size=0]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=0, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=0, 
delivery-tag=b"1", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.0"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=1, 
delivery-tag=b"2", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.1"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=2, 
delivery-tag=b"3", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.2"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=3, 
delivery-tag=b"4", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.3"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=4, 
delivery-tag=b"5", message-format=0] (228) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.4"
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=5, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=5, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=0, last=4, 
settled=true, state=@accepted(36) []]
[0x55f6d2763de0]:0 <- @begin(17) [next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.0", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.1", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.2", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.3", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
[address="node.4", durable=0, expiry-policy=:"link-detach", timeout=0, 
dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @begin(17) [remote-channel=0, next-outgoing-id=0, 
incoming-window=2147483647, outgoing-window=2147483647]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.0", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.1", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.2", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.3", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, 
timeout=0, dynamic=false], target=@target(41) [address="node.4", durable=0, 
timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=0, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=1, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=2, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=3, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
handle=4, delivery-count=0, link-credit=10, drain=false]
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=5, 
delivery-tag=b"6", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=6, 
delivery-tag=b"7", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=7, 
delivery-tag=b"8", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=8, 
delivery-tag=b"9", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=9, 
delivery-tag=b"10", message-format=0] (170) 
"\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=0, 
delivery-tag=b"\x00\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.0\xa1\x08identity\xa1\x0212\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.0\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0213\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=1, 
delivery-tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.1\xa1\x08identity\xa1\x0214\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.1\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0215\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=2, 
delivery-tag=b"\x02\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.2\xa1\x08identity\xa1\x0216\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.2\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0217\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=3, 
delivery-tag=b"\x03\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.3\xa1\x08identity\xa1\x0218\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.3\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0219\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=4, 
delivery-tag=b"\x04\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (373) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.4\xa1\x08identity\xa1\x0220\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.4\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0221\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=5, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=5, link-credit=9, drain=false]
[0x55f6d2763de0]:0 <- @detach(22) [handle=0, closed=true, error=@error(29) 
[condition=:"qd:routed-link-lost", description="Connectivity to the peer 
container was lost"]]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=248, drain=false]
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=5, last=7, 
settled=true, state=@accepted(36) []]
[0x55f6d2763de0]:0 -> @detach(22) [handle=0, closed=true]
[0x55f6d2763de0]:0 -> @close(24) []
[0x55f6d2763de0]:  -> EOS
[0x55f6d2763de0]:0 <- @close(24) []
[0x55f6d2763de0]:  <- EOS
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=249, drain=false]
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=5, 
delivery-tag=b"\x05\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=8, settled=true, 
state=@accepted(36) []]
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=6, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=6, link-credit=9, drain=false]
[0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=6, outgoing-window=2147483647, 
handle=1, delivery-count=10, link-credit=250, drain=false]
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=6, 
delivery-tag=b"\x06\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=7, 
delivery-tag=b"\x07\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=8, 
delivery-tag=b"\x08\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=9, 
delivery-tag=b"\x09\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
settled=true] (142) 
"\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
 
Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
[0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=9, settled=true, 
state=@accepted(36) []]
[0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=10, 
incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
handle=0, delivery-count=10, link-credit=9, drain=false]
[0x55f6d2770dc0]:0 -> (EMPTY FRAME)
[0x55f6d2770dc0]:0 -> @close(24) []
[0x55f6d2770dc0]:  -> EOS
[0x55f6d2770dc0]:0 <- @close(24) []
[0x55f6d2770dc0]:  <- EOS
FAIL

======================================================================
FAIL: test_06_manage_autolinks (system_tests_autolinks.AutolinkTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_autolinks.py", line 
190, in test_06_manage_autolinks
    self.assertEqual(None, test.error)
AssertionError: None != 'Timeout Expired: n_created=5 n_attached=5 n_deleted=5 
n_detached=1'

----------------------------------------------------------------------
Ran 1 test in 60.153s
{noformat}


> Auto-links are closed with an incorrect error indication
> --------------------------------------------------------
>
>                 Key: DISPATCH-964
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-964
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.0.1
>            Reporter: Ganesh Murthy
>            Assignee: Ted Ross
>            Priority: Major
>
> When auto-links are closed as a result of a management delete of an auto-link 
> object, the detach frame carries the error "qd:routed-link-lost".  This is 
> incorrect since these are not even routed links.  These detaches should carry 
> no error.  This defect causes the following symptom:
> There is a test called test_06_manage_autolinks in system_tests_autolinks.py. 
> The test tries to create 5 auto links and delete 5 auto links. Upon deletion 
> it expects 5 detaches to arrive but sometimes receives less than 5 detaches 
> leading to test failure. Upon examining the frame trace, it looks like the 
> test is closing a connection upon receiving a detach with an error. Proton 
> might be closing the connection because it does not know how to handle the 
> error. Here is the frame trace from the test
>  
> {noformat}
> test_06_manage_autolinks (system_tests_autolinks.AutolinkTest) ... 
> [0x55f6d2763de0]:  -> SASL
> [0x55f6d2770dc0]:  -> SASL
> [0x55f6d2763de0]:  <- SASL
> [0x55f6d2763de0]:0 <- @sasl-mechanisms(64) 
> [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
> [0x55f6d2763de0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
> initial-response=b"anonymous@localhost.localdomain"]
> [0x55f6d2770dc0]:  <- SASL
> [0x55f6d2770dc0]:0 <- @sasl-mechanisms(64) 
> [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
> [0x55f6d2770dc0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, 
> initial-response=b"anonymous@localhost.localdomain"]
> [0x55f6d2763de0]:0 <- @sasl-outcome(68) [code=0]
> [0x55f6d2763de0]:  -> AMQP
> [0x55f6d2763de0]:0 -> @open(16) [container-id="container.new", 
> hostname="0.0.0.0", channel-max=32767]
> [0x55f6d2770dc0]:0 <- @sasl-outcome(68) [code=0]
> [0x55f6d2770dc0]:  -> AMQP
> [0x55f6d2770dc0]:0 -> @open(16) [container-id="container.new", 
> hostname="0.0.0.0", channel-max=32767]
> [0x55f6d2770dc0]:0 -> @begin(17) [next-outgoing-id=0, 
> incoming-window=2147483647, outgoing-window=2147483647]
> [0x55f6d2770dc0]:0 -> @attach(18) 
> [name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=true], target=@target(41) [durable=0, 
> timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2770dc0]:0 -> @attach(18) [name="container.new-$management", 
> handle=1, role=false, snd-settle-mode=2, rcv-settle-mode=0, 
> source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) 
> [address="$management", durable=0, timeout=0, dynamic=false], 
> initial-delivery-count=0, max-message-size=0]
> [0x55f6d2770dc0]:0 -> @flow(19) [incoming-window=2147483647, 
> next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, 
> link-credit=10, drain=false]
> [0x55f6d2763de0]:  <- AMQP
> [0x55f6d2763de0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
> channel-max=32767, idle-time-out=60000, 
> offered-capabilities=:"ANONYMOUS-RELAY", 
> properties={:product="qpid-dispatch-router", :version="1.0.0"}]
> [0x55f6d2770dc0]:  <- AMQP
> [0x55f6d2770dc0]:0 <- @open(16) [container-id="QDR", max-frame-size=16384, 
> channel-max=32767, idle-time-out=60000, 
> offered-capabilities=:"ANONYMOUS-RELAY", 
> properties={:product="qpid-dispatch-router", :version="1.0.0"}]
> [0x55f6d2770dc0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, 
> incoming-window=2147483647, outgoing-window=2147483647]
> [0x55f6d2770dc0]:0 <- @attach(18) 
> [name="container.new-5ffbadef-6b56-44c4-920c-d5536fd65862", handle=0, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [address="amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_", durable=0, timeout=0, 
> dynamic=true], target=@target(41) [durable=0, timeout=0, dynamic=false], 
> initial-delivery-count=0, max-message-size=0]
> [0x55f6d2770dc0]:0 <- @attach(18) [name="container.new-$management", 
> handle=1, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) 
> [address="$management", durable=0, timeout=0, dynamic=false], 
> initial-delivery-count=0, max-message-size=0]
> [0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=1, delivery-count=0, link-credit=250, drain=false]
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=0, 
> delivery-tag=b"1", message-format=0] (228) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.0"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=1, 
> delivery-tag=b"2", message-format=0] (228) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.1"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=2, 
> delivery-tag=b"3", message-format=0] (228) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.2"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=3, 
> delivery-tag=b"4", message-format=0] (228) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.3"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=4, 
> delivery-tag=b"5", message-format=0] (228) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06CREATE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00>\x00\x00\x00\x06\xa0\x09direction\xa0\x03out\xa0\x0bcontainerId\xa0\x0dcontainer.new\xa0\x04addr\xa0\x06node.4"
> [0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=5, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=1, delivery-count=5, link-credit=250, drain=false]
> [0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=0, last=4, 
> settled=true, state=@accepted(36) []]
> [0x55f6d2763de0]:0 <- @begin(17) [next-outgoing-id=0, 
> incoming-window=2147483647, outgoing-window=2147483647]
> [0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
> [address="node.0", durable=0, expiry-policy=:"link-detach", timeout=0, 
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
> [address="node.1", durable=0, expiry-policy=:"link-detach", timeout=0, 
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
> [address="node.2", durable=0, expiry-policy=:"link-detach", timeout=0, 
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
> [address="node.3", durable=0, expiry-policy=:"link-detach", timeout=0, 
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2763de0]:0 <- @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) 
> [address="node.4", durable=0, expiry-policy=:"link-detach", timeout=0, 
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55f6d2763de0]:0 -> @begin(17) [remote-channel=0, next-outgoing-id=0, 
> incoming-window=2147483647, outgoing-window=2147483647]
> [0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.vQToKjHcb+XBsw9", handle=0, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) [address="node.0", 
> durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
> max-message-size=0]
> [0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.0WzsOg_mHrH5ltm", handle=1, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) [address="node.1", 
> durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
> max-message-size=0]
> [0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Z4B0NV318BteEi0", handle=2, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) [address="node.2", 
> durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
> max-message-size=0]
> [0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.d+G8wkzDbqNu0XR", handle=3, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) [address="node.3", 
> durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
> max-message-size=0]
> [0x55f6d2763de0]:0 -> @attach(18) [name="qdlink.Adp5mB+Sz4NpMeK", handle=4, 
> role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) 
> [durable=0, timeout=0, dynamic=false], target=@target(41) [address="node.4", 
> durable=0, timeout=0, dynamic=false], initial-delivery-count=0, 
> max-message-size=0]
> [0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=0, delivery-count=0, link-credit=10, drain=false]
> [0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=1, delivery-count=0, link-credit=10, drain=false]
> [0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=2, delivery-count=0, link-credit=10, drain=false]
> [0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=3, delivery-count=0, link-credit=10, drain=false]
> [0x55f6d2763de0]:0 -> @flow(19) [next-incoming-id=0, 
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, 
> handle=4, delivery-count=0, link-credit=10, drain=false]
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=5, 
> delivery-tag=b"6", message-format=0] (170) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.0\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=6, 
> delivery-tag=b"7", message-format=0] (170) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.1\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=7, 
> delivery-tag=b"8", message-format=0] (170) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.2\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=8, 
> delivery-tag=b"9", message-format=0] (170) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.3\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 -> @transfer(20) [handle=1, delivery-id=9, 
> delivery-tag=b"10", message-format=0] (170) 
> "\x00SpE\x00Ss\xd0\x00\x00\x000\x00\x00\x00\x05@@@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_\x00St\xd1\x00\x00\x00Z\x00\x00\x00\x06\xa1\x09operation\xa0\x06DELETE\xa1\x04type\xa0/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04name\xa0\x04AL.4\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=0, 
> delivery-tag=b"\x00\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (373) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.0\xa1\x08identity\xa1\x0212\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.0\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0213\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=1, 
> delivery-tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (373) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.1\xa1\x08identity\xa1\x0214\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.1\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0215\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=2, 
> delivery-tag=b"\x02\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (373) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.2\xa1\x08identity\xa1\x0216\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.2\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0217\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=3, 
> delivery-tag=b"\x03\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (373) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.3\xa1\x08identity\xa1\x0218\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.3\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0219\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=4, 
> delivery-tag=b"\x04\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (373) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x001\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x07Created\xa1\x0astatusCodeq\x00\x00\x00\xc9\x00Sw\xd1\x00\x00\x00\xee\x00\x00\x00\x1a\xa1\x04name\xa1\x04AL.4\xa1\x08identity\xa1\x0220\xa1\x04type\xa1/org.apache.qpid.dispatch.router.config.autoLink\xa1\x04addr\xa1\x06node.4\xa1\x09direction\xa1\x03out\xa1\x03dir\xa1\x03out\xa1\x05phaseT\x00\xa1\x0aconnection@\xa1\x0bcontainerId\xa1\x0dcontainer.new\xa1\x0cexternalAddr@\xa1\x07linkRef\xa1\x0221\xa1\x0aoperStatus\xa1\x09attaching\xa1\x09lastError@"
> [0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=5, 
> incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
> handle=0, delivery-count=5, link-credit=9, drain=false]
> [0x55f6d2763de0]:0 <- @detach(22) [handle=0, closed=true, error=@error(29) 
> [condition=:"qd:routed-link-lost", description="Connectivity to the peer 
> container was lost"]]
> [0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
> incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
> handle=1, delivery-count=10, link-credit=248, drain=false]
> [0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=5, last=7, 
> settled=true, state=@accepted(36) []]
> [0x55f6d2763de0]:0 -> @detach(22) [handle=0, closed=true]
> [0x55f6d2763de0]:0 -> @close(24) []
> [0x55f6d2763de0]:  -> EOS
> [0x55f6d2763de0]:0 <- @close(24) []
> [0x55f6d2763de0]:  <- EOS
> [0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
> incoming-window=2147483647, next-outgoing-id=5, outgoing-window=2147483647, 
> handle=1, delivery-count=10, link-credit=249, drain=false]
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=5, 
> delivery-tag=b"\x05\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (142) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
>  
> Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=8, settled=true, 
> state=@accepted(36) []]
> [0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=6, 
> incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
> handle=0, delivery-count=6, link-credit=9, drain=false]
> [0x55f6d2770dc0]:0 <- @flow(19) [next-incoming-id=10, 
> incoming-window=2147483647, next-outgoing-id=6, outgoing-window=2147483647, 
> handle=1, delivery-count=10, link-credit=250, drain=false]
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=6, 
> delivery-tag=b"\x06\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (142) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
>  
> Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=7, 
> delivery-tag=b"\x07\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (142) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
>  
> Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=8, 
> delivery-tag=b"\x08\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (142) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
>  
> Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @transfer(20) [handle=0, delivery-id=9, 
> delivery-tag=b"\x09\x00\x00\x00\x00\x00\x00\x00", message-format=0, 
> settled=true] (142) 
> "\x00Sp\xd0\x00\x00\x00\x05\x00\x00\x00\x01B\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x06@@\xa1&amqp:/_topo/0/QDR/temp.MT8K7VE3i2Y8y7_@@@\x00St\xd1\x00\x00\x004\x00\x00\x00\x04\xa1\x11statusDescription\xa1\x0aNo
>  
> Content\xa1\x0astatusCodeq\x00\x00\x00\xcc\x00Sw\xd1\x00\x00\x00\x04\x00\x00\x00\x00"
> [0x55f6d2770dc0]:0 <- @disposition(21) [role=true, first=9, settled=true, 
> state=@accepted(36) []]
> [0x55f6d2770dc0]:0 -> @flow(19) [next-incoming-id=10, 
> incoming-window=2147483647, next-outgoing-id=10, outgoing-window=2147483647, 
> handle=0, delivery-count=10, link-credit=9, drain=false]
> [0x55f6d2770dc0]:0 -> (EMPTY FRAME)
> [0x55f6d2770dc0]:0 -> @close(24) []
> [0x55f6d2770dc0]:  -> EOS
> [0x55f6d2770dc0]:0 <- @close(24) []
> [0x55f6d2770dc0]:  <- EOS
> FAIL
> ======================================================================
> FAIL: test_06_manage_autolinks (system_tests_autolinks.AutolinkTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_autolinks.py", 
> line 190, in test_06_manage_autolinks
>     self.assertEqual(None, test.error)
> AssertionError: None != 'Timeout Expired: n_created=5 n_attached=5 
> n_deleted=5 n_detached=1'
> ----------------------------------------------------------------------
> Ran 1 test in 60.153s
> {noformat}



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

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

Reply via email to