yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65866
[Bug 1704392] [NEW] TestInstanceNotificationSample.test_volume_swap_server fails with "testtools.matchers._impl.MismatchError: 7 != 6"
Public bug reported:
http://logs.openstack.org/17/483917/1/check/gate-nova-tox-functional-
ubuntu-xenial/f92a89d/console.html#_2017-07-14_13_14_22_687228
2017-07-14 13:14:22.687228 | nova.tests.functional.notification_sample_tests.test_instance.TestInstanceNotificationSample.test_volume_swap_server
2017-07-14 13:14:22.687273 | --------------------------------------------------------------------------------------------------------------------
2017-07-14 13:14:22.687286 |
2017-07-14 13:14:22.687304 | Captured traceback:
2017-07-14 13:14:22.687322 | ~~~~~~~~~~~~~~~~~~~
2017-07-14 13:14:22.687345 | Traceback (most recent call last):
2017-07-14 13:14:22.687388 | File "nova/tests/functional/notification_sample_tests/test_instance.py", line 837, in test_volume_swap_server
2017-07-14 13:14:22.687419 | self.assertEqual(7, len(fake_notifier.VERSIONED_NOTIFICATIONS))
2017-07-14 13:14:22.687479 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2017-07-14 13:14:22.687507 | self.assertThat(observed, matcher, message)
2017-07-14 13:14:22.687565 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2017-07-14 13:14:22.687586 | raise mismatch_error
2017-07-14 13:14:22.687611 | testtools.matchers._impl.MismatchError: 7 != 6
This could be due to the recent change in the CinderFixture here:
https://review.openstack.org/#/c/448779/
We need the dump the notifications in the error message to get context
when this fails to debug it.
** Affects: nova
Importance: Undecided
Status: Confirmed
** Tags: notifications testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1704392
Title:
TestInstanceNotificationSample.test_volume_swap_server fails with
"testtools.matchers._impl.MismatchError: 7 != 6"
Status in OpenStack Compute (nova):
Confirmed
Bug description:
http://logs.openstack.org/17/483917/1/check/gate-nova-tox-functional-
ubuntu-xenial/f92a89d/console.html#_2017-07-14_13_14_22_687228
2017-07-14 13:14:22.687228 | nova.tests.functional.notification_sample_tests.test_instance.TestInstanceNotificationSample.test_volume_swap_server
2017-07-14 13:14:22.687273 | --------------------------------------------------------------------------------------------------------------------
2017-07-14 13:14:22.687286 |
2017-07-14 13:14:22.687304 | Captured traceback:
2017-07-14 13:14:22.687322 | ~~~~~~~~~~~~~~~~~~~
2017-07-14 13:14:22.687345 | Traceback (most recent call last):
2017-07-14 13:14:22.687388 | File "nova/tests/functional/notification_sample_tests/test_instance.py", line 837, in test_volume_swap_server
2017-07-14 13:14:22.687419 | self.assertEqual(7, len(fake_notifier.VERSIONED_NOTIFICATIONS))
2017-07-14 13:14:22.687479 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2017-07-14 13:14:22.687507 | self.assertThat(observed, matcher, message)
2017-07-14 13:14:22.687565 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2017-07-14 13:14:22.687586 | raise mismatch_error
2017-07-14 13:14:22.687611 | testtools.matchers._impl.MismatchError: 7 != 6
This could be due to the recent change in the CinderFixture here:
https://review.openstack.org/#/c/448779/
We need the dump the notifications in the error message to get context
when this fails to debug it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1704392/+subscriptions
Follow ups