yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12751
[Bug 1266954] Re: tempest failure: test_list_agent failes with MismatchError
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => icehouse-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1266954
Title:
tempest failure: test_list_agent failes with MismatchError
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
Jenkins job 'check-tempest-dsvm-neutron-pg-isolated' failed when I posted a fix.
(see. http://logs.openstack.org/34/65034/1/check/check-tempest-dsvm-neutron-pg-isolated/d3e37ea )
Failed test is as follows:
---
FAIL: tempest.api.network.admin.test_agent_management.AgentManagementTestJSON.test_list_agent[gate,smoke]
tempest.api.network.admin.test_agent_management.AgentManagementTestJSON.test_list_agent[gate,smoke]
Traceback (most recent call last):
File "tempest/api/network/admin/test_agent_management.py", line 37, in test_list_agent
self.assertIn(self.agent, agents)
File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 330, in assertIn
self.assertThat(haystack, Contains(needle))
File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: {u'binary': u'neutron-dhcp-agent', u'description': None, ... snip
---
I found the mismatch is only 'heartbeat_timestamp'.
expected: u'heartbeat_timestamp': u'2014-01-06 06:52:48.291601'
real: u'heartbeat_timestamp': u'2014-01-06 06:52:52.309330'
In test_list_agent GET API issues twice and compare results.
It is possible to differ heartbeat_timestam isn't it?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1266954/+subscriptions
References