Activity log for bug #1660393

Date Who What changed Old value New value Message
2017-01-30 17:16:07 Javier Peña bug added bug
2017-04-04 06:38:19 Thomas Bechtold oslo.messaging: status New Confirmed
2017-04-04 06:53:44 Thomas Bechtold description When running the unit tests on a single-CPU VM, two of them fail consistently: ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_load_notifiers_config tags: worker-0 ---------------------------------------------------------------------- Empty attachments: stderr stdout Traceback (most recent call last): File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 441, in test_load_notifiers_config self.router._load_notifiers() File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/notify/_impl_routing.py", line 74, in _load_notifiers LOG.debug('loading notifiers from %s', self.NOTIFIER_PLUGIN_NAMESPACE) File "/usr/lib/python2.7/site-packages/mock/mock.py", line 698, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'debug' ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_notify_filtered tags: worker-0 ---------------------------------------------------------------------- Empty attachments: stderr stdout Traceback (most recent call last): File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 596, in test_notify_filtered {}, mock.ANY, 'INFO', None) File "/usr/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with raise AssertionError(msg) AssertionError: Expected 'notify' to be called once. Called 0 times. Ran 1971 tests in 149.314s FAILED (id=0, failures=2, skips=53) Just adding a CPU to the VM makes unit tests pass. Also, fiddling with .testr.conf to increase test concurrency (to e.g. 4) fixes the issue. To reproduce the bug, do: $ tox -epy27 -- --parallel --concurrency=1 When running the unit tests on a single-CPU VM, two of them fail consistently: ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_load_notifiers_config tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 441, in test_load_notifiers_config     self.router._load_notifiers()   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/notify/_impl_routing.py", line 74, in _load_notifiers     LOG.debug('loading notifiers from %s', self.NOTIFIER_PLUGIN_NAMESPACE)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 698, in __getattr__     raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'debug' ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_notify_filtered tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 596, in test_notify_filtered     {}, mock.ANY, 'INFO', None)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with     raise AssertionError(msg) AssertionError: Expected 'notify' to be called once. Called 0 times. Ran 1971 tests in 149.314s FAILED (id=0, failures=2, skips=53) Just adding a CPU to the VM makes unit tests pass. Also, fiddling with .testr.conf to increase test concurrency (to e.g. 4) fixes the issue.
2017-04-04 06:57:21 Thomas Bechtold description To reproduce the bug, do: $ tox -epy27 -- --parallel --concurrency=1 When running the unit tests on a single-CPU VM, two of them fail consistently: ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_load_notifiers_config tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 441, in test_load_notifiers_config     self.router._load_notifiers()   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/notify/_impl_routing.py", line 74, in _load_notifiers     LOG.debug('loading notifiers from %s', self.NOTIFIER_PLUGIN_NAMESPACE)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 698, in __getattr__     raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'debug' ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_notify_filtered tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 596, in test_notify_filtered     {}, mock.ANY, 'INFO', None)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with     raise AssertionError(msg) AssertionError: Expected 'notify' to be called once. Called 0 times. Ran 1971 tests in 149.314s FAILED (id=0, failures=2, skips=53) Just adding a CPU to the VM makes unit tests pass. Also, fiddling with .testr.conf to increase test concurrency (to e.g. 4) fixes the issue. To reproduce the bug, do: $ tox -epy27 -- --parallel --concurrency=1 or a quicker reproducer: $ tox -epy27 -- --parallel --concurrency=1 oslo_messaging.tests.notify.test_notifier When running the unit tests on a single-CPU VM, two of them fail consistently: ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_load_notifiers_config tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 441, in test_load_notifiers_config     self.router._load_notifiers()   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/notify/_impl_routing.py", line 74, in _load_notifiers     LOG.debug('loading notifiers from %s', self.NOTIFIER_PLUGIN_NAMESPACE)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 698, in __getattr__     raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'debug' ====================================================================== FAIL: oslo_messaging.tests.notify.test_notifier.TestRoutingNotifier.test_notify_filtered tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   stderr   stdout Traceback (most recent call last):   File "/builddir/build/BUILD/oslo.messaging-5.17.0/oslo_messaging/tests/notify/test_notifier.py", line 596, in test_notify_filtered     {}, mock.ANY, 'INFO', None)   File "/usr/lib/python2.7/site-packages/mock/mock.py", line 947, in assert_called_once_with     raise AssertionError(msg) AssertionError: Expected 'notify' to be called once. Called 0 times. Ran 1971 tests in 149.314s FAILED (id=0, failures=2, skips=53) Just adding a CPU to the VM makes unit tests pass. Also, fiddling with .testr.conf to increase test concurrency (to e.g. 4) fixes the issue.
2017-04-04 07:12:01 OpenStack Infra oslo.messaging: status Confirmed In Progress
2017-04-04 07:12:01 OpenStack Infra oslo.messaging: assignee Thomas Bechtold (toabctl)
2017-04-05 06:22:15 ChangBo Guo(gcb) oslo.messaging: importance Undecided High
2017-04-05 13:28:41 OpenStack Infra oslo.messaging: status In Progress Fix Released