yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70350
[Bug 1742935] [NEW] TestServiceUpdateNotificationSample fails intermittently: u'host2' != u'host1': path: root.payload.nova_object.data.host
Public bug reported:
Tests in both
nova.tests.functional.notification_sample_tests.test_service.TestServiceUpdateNotificationSampleLatest
and
nova.tests.functional.notification_sample_tests.test_service.TestServiceUpdateNotificationSamplev2_52
fails with a similar error:
Traceback (most recent call last):
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/test_service.py", line 121, in test_service_disabled
'uuid': self.service_uuid})
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/test_service.py", line 37, in _verify_notification
base._verify_notification(sample_file_name, replacements, actual)
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/notification_sample_base.py", line 150, in _verify_notification
self.assertJsonEqual(sample_obj, notification)
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/test.py", line 533, in assertJsonEqual
raise error
AssertionError:
expected:
{'event_type': 'service.update',
'payload': {'nova_object.data': {'availability_zone': None,
'binary': 'nova-compute',
'disabled': True,
'disabled_reason': None,
'forced_down': False,
'host': 'host2',
'last_seen_up': '2012-10-29T13:42:05Z',
'report_count': 1,
'topic': 'compute',
'uuid': 'e81d66a4-ddd3-4aba-8a84-171d1cb4d339',
'version': 26},
'nova_object.name': 'ServiceStatusPayload',
'nova_object.namespace': 'nova',
'nova_object.version': '1.1'},
'priority': 'INFO',
'publisher_id': 'nova-compute:host1'}
actual:
{'event_type': 'service.update',
'payload': {'nova_object.data': {'availability_zone': None,
'binary': 'nova-compute',
'disabled': True,
'disabled_reason': None,
'forced_down': False,
'host': 'host1',
'last_seen_up': '2012-10-29T13:42:05Z',
'report_count': 1,
'topic': 'compute',
'uuid': 'e81d66a4-ddd3-4aba-8a84-171d1cb4d339',
'version': 26},
'nova_object.name': 'ServiceStatusPayload',
'nova_object.namespace': 'nova',
'nova_object.version': '1.1'},
'priority': 'INFO',
'publisher_id': 'nova-compute:host1'}
difference:
'host2' != 'host1': path: root.payload.nova_object.data.host
It happens quite frequently on the gate, 64 occurrences in half a day:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22u'host2'%20!%3D%20u'host1'%3A%20path%3A%20root.payload.nova_object.data.host%5C%22
** Affects: nova
Importance: Undecided
Assignee: Balazs Gibizer (balazs-gibizer)
Status: New
** Tags: testing
** Tags added: testing
** Changed in: nova
Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)
--
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/1742935
Title:
TestServiceUpdateNotificationSample fails intermittently: u'host2' !=
u'host1': path: root.payload.nova_object.data.host
Status in OpenStack Compute (nova):
New
Bug description:
Tests in both
nova.tests.functional.notification_sample_tests.test_service.TestServiceUpdateNotificationSampleLatest
and
nova.tests.functional.notification_sample_tests.test_service.TestServiceUpdateNotificationSamplev2_52
fails with a similar error:
Traceback (most recent call last):
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/test_service.py", line 121, in test_service_disabled
'uuid': self.service_uuid})
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/test_service.py", line 37, in _verify_notification
base._verify_notification(sample_file_name, replacements, actual)
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/functional/notification_sample_tests/notification_sample_base.py", line 150, in _verify_notification
self.assertJsonEqual(sample_obj, notification)
File "/home/zuul/src/git.openstack.org/openstack/nova/nova/test.py", line 533, in assertJsonEqual
raise error
AssertionError:
expected:
{'event_type': 'service.update',
'payload': {'nova_object.data': {'availability_zone': None,
'binary': 'nova-compute',
'disabled': True,
'disabled_reason': None,
'forced_down': False,
'host': 'host2',
'last_seen_up': '2012-10-29T13:42:05Z',
'report_count': 1,
'topic': 'compute',
'uuid': 'e81d66a4-ddd3-4aba-8a84-171d1cb4d339',
'version': 26},
'nova_object.name': 'ServiceStatusPayload',
'nova_object.namespace': 'nova',
'nova_object.version': '1.1'},
'priority': 'INFO',
'publisher_id': 'nova-compute:host1'}
actual:
{'event_type': 'service.update',
'payload': {'nova_object.data': {'availability_zone': None,
'binary': 'nova-compute',
'disabled': True,
'disabled_reason': None,
'forced_down': False,
'host': 'host1',
'last_seen_up': '2012-10-29T13:42:05Z',
'report_count': 1,
'topic': 'compute',
'uuid': 'e81d66a4-ddd3-4aba-8a84-171d1cb4d339',
'version': 26},
'nova_object.name': 'ServiceStatusPayload',
'nova_object.namespace': 'nova',
'nova_object.version': '1.1'},
'priority': 'INFO',
'publisher_id': 'nova-compute:host1'}
difference:
'host2' != 'host1': path: root.payload.nova_object.data.host
It happens quite frequently on the gate, 64 occurrences in half a day:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22u'host2'%20!%3D%20u'host1'%3A%20path%3A%20root.payload.nova_object.data.host%5C%22
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1742935/+subscriptions
Follow ups