Public bug reported: Related patches: https://review.openstack.org/#/c/511835/ https://review.openstack.org/#/c/511767/
when I remove some useless methods in nova/objects/compute_node.py, I find the error: Failed 2 tests - output below: 2017-10-13 13:07:54.110687 | ============================== 2017-10-13 13:07:54.110704 | 2017-10-13 13:07:54.110758 | nova.tests.unit.notifications.objects.test_notification.TestNotificationObjectVersions.test_versions 2017-10-13 13:07:54.110820 | ---------------------------------------------------------------------------------------------------- 2017-10-13 13:07:54.110838 | 2017-10-13 13:07:54.110850 | Captured traceback: 2017-10-13 13:07:54.110861 | ~~~~~~~~~~~~~~~~~~~ 2017-10-13 13:07:54.110879 | Traceback (most recent call last): 2017-10-13 13:07:54.110911 | File "nova/tests/unit/notifications/objects/test_notification.py", line 420, in test_versions 2017-10-13 13:07:54.110933 | 'Some notification objects have changed; please make ' 2017-10-13 13:07:54.110992 | File "/home/jenkins/workspace/gate-nova-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual 2017-10-13 13:07:54.111018 | self.assertThat(observed, matcher, message) 2017-10-13 13:07:54.111062 | File "/home/jenkins/workspace/gate-nova-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat 2017-10-13 13:07:54.111075 | raise mismatch_error 2017-10-13 13:07:54.111093 | testtools.matchers._impl.MismatchError: !=: 2017-10-13 13:07:54.111117 | reference = {'ComputeNodeList': '1.17-52f3b0962b1c86b98590144463ebb192'} 2017-10-13 13:07:54.111141 | actual = {'ComputeNodeList': '1.17-badecf5a910a5e0df8fffb270f30c7da'} 2017-10-13 13:07:54.111178 | : Some notification objects have changed; please make sure the versions have been bumped, and then update their hashes here. py27 error: http://logs.openstack.org/35/511835/1/check/gate-nova-python27-ubuntu-xenial/477e1b9/console.html ** Affects: nova Importance: Undecided Assignee: zhangyangyang (zhangyangyang) Status: In Progress ** Changed in: nova Assignee: (unassigned) => zhangyangyang (zhangyangyang) -- 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/1723476 Title: py27 job failing on testtools.matchers._impl.MismatchError Status in OpenStack Compute (nova): In Progress Bug description: Related patches: https://review.openstack.org/#/c/511835/ https://review.openstack.org/#/c/511767/ when I remove some useless methods in nova/objects/compute_node.py, I find the error: Failed 2 tests - output below: 2017-10-13 13:07:54.110687 | ============================== 2017-10-13 13:07:54.110704 | 2017-10-13 13:07:54.110758 | nova.tests.unit.notifications.objects.test_notification.TestNotificationObjectVersions.test_versions 2017-10-13 13:07:54.110820 | ---------------------------------------------------------------------------------------------------- 2017-10-13 13:07:54.110838 | 2017-10-13 13:07:54.110850 | Captured traceback: 2017-10-13 13:07:54.110861 | ~~~~~~~~~~~~~~~~~~~ 2017-10-13 13:07:54.110879 | Traceback (most recent call last): 2017-10-13 13:07:54.110911 | File "nova/tests/unit/notifications/objects/test_notification.py", line 420, in test_versions 2017-10-13 13:07:54.110933 | 'Some notification objects have changed; please make ' 2017-10-13 13:07:54.110992 | File "/home/jenkins/workspace/gate-nova-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual 2017-10-13 13:07:54.111018 | self.assertThat(observed, matcher, message) 2017-10-13 13:07:54.111062 | File "/home/jenkins/workspace/gate-nova-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat 2017-10-13 13:07:54.111075 | raise mismatch_error 2017-10-13 13:07:54.111093 | testtools.matchers._impl.MismatchError: !=: 2017-10-13 13:07:54.111117 | reference = {'ComputeNodeList': '1.17-52f3b0962b1c86b98590144463ebb192'} 2017-10-13 13:07:54.111141 | actual = {'ComputeNodeList': '1.17-badecf5a910a5e0df8fffb270f30c7da'} 2017-10-13 13:07:54.111178 | : Some notification objects have changed; please make sure the versions have been bumped, and then update their hashes here. py27 error: http://logs.openstack.org/35/511835/1/check/gate-nova-python27-ubuntu-xenial/477e1b9/console.html To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1723476/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp