← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605090] Re: AssertionError: 0 == 0 : No IPv4 addresses found on gate-tempest-dsvm-neutron-linuxbridge

 

Reviewed:  https://review.openstack.org/345253
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e7e8a4e9385d35a622c27b4787f91f1a928628e3
Submitter: Jenkins
Branch:    master

commit e7e8a4e9385d35a622c27b4787f91f1a928628e3
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Wed Jul 20 19:07:49 2016 -0700

    Don't interrupt device loop for missing device
    
    If a device is removed in the middle of
    treat_devices_added_updated it can cause failures which
    will force all of the other unaffected devices to be
    reprocessed. When they are reprocessed it will cause
    the ports on the server side to go back into BUILD which
    can cause failures in tests expecting ACTIVE ports.
    
    This patch adds an exception catcher that examines if the
    port is still present. If it's missing, it suppresses the
    exception since the device will be treated as a removed
    device on the next iteration.
    
    Closes-Bug: #1605090
    Change-Id: Ia774a7c1578f5aca71f3b706e47819b3fdc1cce2


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  AssertionError: 0 == 0 : No IPv4 addresses found on gate-tempest-dsvm-
  neutron-linuxbridge

Status in neutron:
  Fix Released

Bug description:
  http://logs.openstack.org/73/345173/1/check/gate-tempest-dsvm-neutron-
  linuxbridge/2730807/logs/testr_results.html.gz

  Traceback (most recent call last):
    File "tempest/test.py", line 106, in wrapper
      return f(self, *func_args, **func_kwargs)
    File "tempest/scenario/test_network_basic_ops.py", line 649, in test_preserve_preexisting_port
      self._setup_network_and_servers(boot_with_port=True)
    File "tempest/scenario/test_network_basic_ops.py", line 123, in _setup_network_and_servers
      floating_ip = self.create_floating_ip(server)
    File "tempest/scenario/manager.py", line 868, in create_floating_ip
      port_id, ip4 = self._get_server_port_id_and_ip4(thing)
    File "tempest/scenario/manager.py", line 847, in _get_server_port_id_and_ip4
      "No IPv4 addresses found in: %s" % ports)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/unittest2/case.py", line 845, in assertNotEqual
      raise self.failureException(msg)
  AssertionError: 0 == 0 : No IPv4 addresses found in: [{u'updated_at': u'2016-07-21T06:43:05', u'device_id': u'fc965435-3ac5-479c-a348-183c8067f016', u'created_at': u'2016-07-21T06:42:56', u'tenant_id': u'728b1d7ba78644738ab1c63b76a53718', u'extra_dhcp_opts': [], u'name': u'tempest-port-quotatest-52370911', u'binding:vif_details': {u'port_filter': True}, u'binding:host_id': u'ubuntu-trusty-ovh-gra1-2709194', u'device_owner': u'compute:None', u'description': u'', u'security_groups': [u'0bea87ad-beb8-4cf8-b627-6c7f406df3cf'], u'binding:vif_type': u'bridge', u'mac_address': u'fa:16:3e:f0:d0:2d', u'binding:vnic_type': u'normal', u'port_security_enabled': True, u'network_id': u'ced37114-d483-48a4-a0e1-40c338839d54', u'allowed_address_pairs': [], u'admin_state_up': True, u'id': u'f53c19ec-de16-440a-b1b0-e45e30cc891b', u'fixed_ips': [{u'ip_address': u'10.100.0.6', u'subnet_id': u'c5fb097f-6c95-4ce4-9584-de90e70e1dee'}], u'binding:profile': {}, u'status': u'BUILD'}]

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


References