← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407190] [NEW] test_create_list_show_delete_interfaces race fail due to port_state mismatch

 

Public bug reported:

http://logs.openstack.org/12/142412/3/gate/gate-tempest-dsvm-neutron-
full/9990c84/console.html#_2015-01-02_16_07_40_306

2015-01-02 16:07:40.306 |     Traceback (most recent call last):
2015-01-02 16:07:40.306 |       File "tempest/test.py", line 112, in wrapper
2015-01-02 16:07:40.306 |         return f(self, *func_args, **func_kwargs)
2015-01-02 16:07:40.306 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 128, in test_create_list_show_delete_interfaces
2015-01-02 16:07:40.306 |         self._test_show_interface(server, ifs)
2015-01-02 16:07:40.306 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 81, in _test_show_interface
2015-01-02 16:07:40.306 |         self.assertEqual(iface, _iface)
2015-01-02 16:07:40.306 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
2015-01-02 16:07:40.306 |         self.assertThat(observed, matcher, message)
2015-01-02 16:07:40.306 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
2015-01-02 16:07:40.307 |         raise mismatch_error
2015-01-02 16:07:40.307 |     MismatchError: !=:
2015-01-02 16:07:40.307 |     reference = {u'fixed_ips': [{u'ip_address': u'10.100.0.4',
2015-01-02 16:07:40.307 |                      u'subnet_id': u'e6252f5f-b117-4156-a320-365d387f9385'}],
2015-01-02 16:07:40.307 |      u'mac_addr': u'fa:16:3e:59:46:57',
2015-01-02 16:07:40.307 |      u'net_id': u'1fa8b2a3-1d9c-4fdd-ac18-a6b631cbc1f6',
2015-01-02 16:07:40.307 |      u'port_id': u'a56e7bba-1f6d-4382-8a72-db430235c147',
2015-01-02 16:07:40.307 |      u'port_state': u'ACTIVE'}
2015-01-02 16:07:40.307 |     actual    = {u'fixed_ips': [{u'ip_address': u'10.100.0.4',
2015-01-02 16:07:40.307 |                      u'subnet_id': u'e6252f5f-b117-4156-a320-365d387f9385'}],
2015-01-02 16:07:40.308 |      u'mac_addr': u'fa:16:3e:59:46:57',
2015-01-02 16:07:40.308 |      u'net_id': u'1fa8b2a3-1d9c-4fdd-ac18-a6b631cbc1f6',
2015-01-02 16:07:40.308 |      u'port_id': u'a56e7bba-1f6d-4382-8a72-db430235c147',
2015-01-02 16:07:40.308 |      u'port_state': u'BUILD'}

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1407190

Title:
  test_create_list_show_delete_interfaces race fail due to port_state
  mismatch

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  http://logs.openstack.org/12/142412/3/gate/gate-tempest-dsvm-neutron-
  full/9990c84/console.html#_2015-01-02_16_07_40_306

  2015-01-02 16:07:40.306 |     Traceback (most recent call last):
  2015-01-02 16:07:40.306 |       File "tempest/test.py", line 112, in wrapper
  2015-01-02 16:07:40.306 |         return f(self, *func_args, **func_kwargs)
  2015-01-02 16:07:40.306 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 128, in test_create_list_show_delete_interfaces
  2015-01-02 16:07:40.306 |         self._test_show_interface(server, ifs)
  2015-01-02 16:07:40.306 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 81, in _test_show_interface
  2015-01-02 16:07:40.306 |         self.assertEqual(iface, _iface)
  2015-01-02 16:07:40.306 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
  2015-01-02 16:07:40.306 |         self.assertThat(observed, matcher, message)
  2015-01-02 16:07:40.306 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
  2015-01-02 16:07:40.307 |         raise mismatch_error
  2015-01-02 16:07:40.307 |     MismatchError: !=:
  2015-01-02 16:07:40.307 |     reference = {u'fixed_ips': [{u'ip_address': u'10.100.0.4',
  2015-01-02 16:07:40.307 |                      u'subnet_id': u'e6252f5f-b117-4156-a320-365d387f9385'}],
  2015-01-02 16:07:40.307 |      u'mac_addr': u'fa:16:3e:59:46:57',
  2015-01-02 16:07:40.307 |      u'net_id': u'1fa8b2a3-1d9c-4fdd-ac18-a6b631cbc1f6',
  2015-01-02 16:07:40.307 |      u'port_id': u'a56e7bba-1f6d-4382-8a72-db430235c147',
  2015-01-02 16:07:40.307 |      u'port_state': u'ACTIVE'}
  2015-01-02 16:07:40.307 |     actual    = {u'fixed_ips': [{u'ip_address': u'10.100.0.4',
  2015-01-02 16:07:40.307 |                      u'subnet_id': u'e6252f5f-b117-4156-a320-365d387f9385'}],
  2015-01-02 16:07:40.308 |      u'mac_addr': u'fa:16:3e:59:46:57',
  2015-01-02 16:07:40.308 |      u'net_id': u'1fa8b2a3-1d9c-4fdd-ac18-a6b631cbc1f6',
  2015-01-02 16:07:40.308 |      u'port_id': u'a56e7bba-1f6d-4382-8a72-db430235c147',
  2015-01-02 16:07:40.308 |      u'port_state': u'BUILD'}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1407190/+subscriptions


Follow ups

References