On Sep 7, 2011, at 9:53 AM, Ken Giusti wrote:
Alex - if you'd like to try to debug this, can you alter the cpp/src/
tests/queue_flow_limit_test.py file to dump the queue configuration
arguments before and after the queue is created (in the
_create_queue() method)?
Log for the altered script follows below.
Note, we use custom rebuilt python 2.6 to enable few modules if that
matter. The same python binary used during build and check phase.
I'll send you broker log directly.
Alex.
Running Queue flow limit tests using broker on port 57764
queue_flow_limit_tests
.QueueFlowLimitTests.test_blocked_queue_delete .... start
QUEUE DECL ARGS={'qpid.flow_stop_size': 10,
'qpid.flow_resume_size': 2}
QUEUE ACTUAL ARGS={u'qpid.flow_stop_size': 10,
u'qpid.flow_resume_size': 2}
queue_flow_limit_tests
.QueueFlowLimitTests.test_blocked_queue_delete .... fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 373, in test_blocked_queue_delete
self.failIf(sender.isAlive())
File "/opt/enstore/Python/lib/python2.6/unittest.py", line 321,
in failIf
if expr: raise self.failureException, msg
AssertionError
queue_flow_limit_tests
.QueueFlowLimitTests.test_default_flow_count ...... start
QUEUE DECL ARGS={'qpid.max_count': 1000}
QUEUE ACTUAL ARGS={u'qpid.max_count': 1000}
queue_flow_limit_tests
.QueueFlowLimitTests.test_default_flow_count ...... fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 306, in test_default_flow_count
self.verify_limit(TestQ(oid))
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 268, in verify_limit
self.failUnless(testq.verifyStopped())
File "/opt/enstore/Python/lib/python2.6/unittest.py", line 325,
in failUnless
if not expr: raise self.failureException, msg
AssertionError
queue_flow_limit_tests
.QueueFlowLimitTests.test_default_flow_size ....... start
QUEUE DECL ARGS={'qpid.max_size': 10000}
QUEUE ACTUAL ARGS={u'qpid.max_size': 10000}
queue_flow_limit_tests
.QueueFlowLimitTests.test_default_flow_size ....... fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 332, in test_default_flow_size
self.verify_limit(TestQ(oid))
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 268, in verify_limit
self.failUnless(testq.verifyStopped())
File "/opt/enstore/Python/lib/python2.6/unittest.py", line 325,
in failUnless
if not expr: raise self.failureException, msg
AssertionError
queue_flow_limit_tests
.QueueFlowLimitTests.test_flow_count .............. start
QUEUE DECL ARGS={'qpid.flow_stop_count': 373,
'qpid.flow_resume_count': 229}
QUEUE ACTUAL ARGS={u'qpid.flow_stop_count': 373,
u'qpid.flow_resume_count': 229}
queue_flow_limit_tests
.QueueFlowLimitTests.test_flow_count .............. fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 169, in test_flow_count
self.failUnless(self.qmf.getObjects(_objectId=oid)
[0].flowStopped)
File "/opt/enstore/Python/lib/python2.6/unittest.py", line 325,
in failUnless
if not expr: raise self.failureException, msg
AssertionError
queue_flow_limit_tests
.QueueFlowLimitTests.test_flow_size ............... start
QUEUE DECL ARGS={'qpid.flow_stop_size': 351133,
'qpid.flow_resume_size': 251143}
QUEUE ACTUAL ARGS={u'qpid.flow_stop_count': 373,
u'qpid.flow_resume_count': 229}
DECL ARGS have keys like *size
ACTUAL ARGS have keys like *count, same as in previous test.
queue_flow_limit_tests
.QueueFlowLimitTests.test_flow_size ............... fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 210, in test_flow_size
oid = self._create_queue("test-q", stop_size=351133,
resume_size=251143)
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 78, in _create_queue
self.assertEqual(i.arguments.get("qpid.flow_stop_size"),
stop_size)
File "/opt/enstore/Python/lib/python2.6/unittest.py", line 350,
in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != 351133
queue_flow_limit_tests
.QueueFlowLimitTests.test_qpid_config_cmd ......... fail
Error during test:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 136, in test_qpid_config_cmd
self.startQmf();
File "/opt/install/qpid-0.12/cpp/src/tests/python/qpid/
testlib.py", line 193, in startQmf
self.qmf_broker = self.qmf.addBroker(str(self.broker))
File "/opt/install/qpid-0.12/extras/qmf/src/py/qmf/console.py",
line 643, in addBroker
ssl = url.scheme == URL.AMQPS, connTimeout=timeout)
File "/opt/install/qpid-0.12/extras/qmf/src/py/qmf/console.py",
line 2283, in __init__
self._waitForStable()
File "/opt/install/qpid-0.12/extras/qmf/src/py/qmf/console.py",
line 2723, in _waitForStable
raise RuntimeError("Timed out waiting for broker to
synchronize")
RuntimeError: Timed out waiting for broker to synchronize
Error during teardown:
Traceback (most recent call last):
File "/opt/install/qpid-0.12/cpp/src/tests/python/commands/qpid-
python-test", line 311, in run
phase()
File "/opt/install/qpid-0.12/cpp/src/tests/python/qpid/
testlib.py", line 219, in tearDown
self.qmf.delBroker(self.qmf_broker)
File "/opt/install/qpid-0.12/cpp/src/tests/
queue_flow_limit_tests.py", line 36, in __getattr__
raise AttributeError
AttributeError
Totals: 6 tests, 0 passed, 0 skipped, 0 ignored, 6 failed
2011-09-07 13:05:12 warning Connection [127.0.0.1:59908-localhost:
57764] closed
qpid-send: Failed to connect (reconnect disabled)
2011-09-07 13:05:12 warning Connection [127.0.0.1:59911-localhost:
57764] closed
qpid-send: Failed to connect (reconnect disabled)
2011-09-07 13:05:12 warning Connection [127.0.0.1:59915-localhost:
57764] closed
qpid-send: Failed to connect (reconnect disabled)
2011-09-07 13:05:12 warning Connection [127.0.0.1:59916-localhost:
57764] closed
qpid-send: Failed to connect (reconnect disabled)
2011-09-07 13:05:12 warning Connection [127.0.0.1:59914-localhost:
57764] closed
qpid-send: Failed to connect (reconnect disabled)
FAIL queue flow limit tests
FAIL: run_queue_flow_limit_tests