You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2016/04/29 22:59:13 UTC
[jira] [Created] (DISPATCH-301) Some unit tests fail with
workerThreads are set to 4
Ganesh Murthy created DISPATCH-301:
--------------------------------------
Summary: Some unit tests fail with workerThreads are set to 4
Key: DISPATCH-301
URL: https://issues.apache.org/jira/browse/DISPATCH-301
Project: Qpid Dispatch
Issue Type: Bug
Components: Container
Affects Versions: 0.6
Reporter: Ganesh Murthy
Python tests like system_tests_user_id and system_tests_qdstat fail when the workerThreads are set to more than 1 (in my test case I had workerThreads set to 4)
I see the following output -
{noformat}
[gmurthy@localhost build]$ PN_TRACE_FRM=1 "/home/gmurthy/opensource/dispatch/build/tests/run.py" "-m" "unittest" "-v" "system_tests_user_id"
test_ssl_user_id (system_tests_user_id.QdSSLUseridTest) ... [0x55a742167ee0]: -> SASL
[0x55a742167ee0]: <- SASL
[0x55a742167ee0]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:EXTERNAL]]
[0x55a742167ee0]:0 -> @sasl-init(65) [mechanism=:EXTERNAL, initial-response=b""]
[0x55a742167ee0]:0 <- @sasl-outcome(68) [code=0]
[0x55a742167ee0]: -> AMQP
[0x55a742167ee0]:0 -> @open(16) [container-id="473eaeaf-c3af-43d9-91ed-f10b53b38084", channel-max=32767]
[0x55a742167ee0]: <- AMQP
[0x55a742167ee0]: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="0.6.0"}]
[0x55a742167ee0]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
[0x55a742167ee0]:0 -> @attach(18) [name="473eaeaf-c3af-43d9-91ed-f10b53b38084-$management", handle=0, 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]
[0x55a742167ee0]:0 -> @close(24) [error=@error(29) [condition=:"amqp:connection:framing-error", description="SSL Failure: Unknown error."]]
[0x55a742167ee0]: <- EOS
[0x55a742167ee0]: -> EOS
ERROR
======================================================================
ERROR: test_ssl_user_id (system_tests_user_id.QdSSLUseridTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gmurthy/opensource/dispatch/tests/system_tests_user_id.py", line 220, in test_ssl_user_id
node = Node.connect(addr, ssl_domain=domain)
File "/home/gmurthy/opensource/dispatch/python/qpid_dispatch/management/client.py", line 98, in connect
return Node(Node.connection(url, router, timeout, ssl_domain))
File "/home/gmurthy/opensource/dispatch/python/qpid_dispatch/management/client.py", line 112, in __init__
self.client = SyncRequestResponse(connection, self.url.path)
File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/utils.py", line 321, in __init__
self.sender = self.connection.create_sender(self.address)
File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/utils.py", line 211, in create_sender
return BlockingSender(self, self.container.create_sender(self.conn, address, name=name, handler=handler, options=options))
File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/utils.py", line 68, in __init__
super(BlockingSender, self).__init__(connection, sender)
File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/utils.py", line 32, in __init__
msg="Opening link %s" % link.name)
File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/utils.py", line 264, in wait
raise ConnectionException("Connection %s disconnected" % self.url)
ConnectionException: Connection amqps://0.0.0.0:27216/$management disconnected
----------------------------------------------------------------------
Ran 1 test in 2.144s
FAILED (errors=1)
[gmurthy@localhost build]$
{noformat}
Switch the workerThreads back to 1 and the tests will pass
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org