← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1672607] [NEW] test_arp_spoof_doesnt_block_normal_traffic fails with AttributeError: 'NoneType' object has no attribute 'splitlines'

 

Public bug reported:

http://logs.openstack.org/03/444603/5/check/gate-neutron-dsvm-
functional-ubuntu-xenial/52405e2/testr_results.html.gz

Traceback (most recent call last):
  File "neutron/tests/base.py", line 116, in func
    return f(self, *args, **kwargs)
  File "neutron/tests/functional/agent/test_ovs_flows.py", line 182, in test_arp_spoof_doesnt_block_normal_traffic
    self._setup_arp_spoof_for_port(self.src_p.name, [self.src_addr])
  File "neutron/tests/functional/agent/test_ovs_flows.py", line 309, in _setup_arp_spoof_for_port
    self.br_int, vif, details)
  File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 916, in setup_arp_spoofing_protection
    bridge.set_allowed_macs_for_port(vif.ofport, mac_addresses)
  File "neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_int.py", line 150, in set_allowed_macs_for_port
    in_port=port).splitlines()
AttributeError: 'NoneType' object has no attribute 'splitlines'

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: functional-tests gate-failure ovs

** Changed in: neutron
   Importance: Undecided => High

** Tags added: functional-tests gate-failure ovs

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

Title:
  test_arp_spoof_doesnt_block_normal_traffic fails with AttributeError:
  'NoneType' object has no attribute 'splitlines'

Status in neutron:
  Confirmed

Bug description:
  http://logs.openstack.org/03/444603/5/check/gate-neutron-dsvm-
  functional-ubuntu-xenial/52405e2/testr_results.html.gz

  Traceback (most recent call last):
    File "neutron/tests/base.py", line 116, in func
      return f(self, *args, **kwargs)
    File "neutron/tests/functional/agent/test_ovs_flows.py", line 182, in test_arp_spoof_doesnt_block_normal_traffic
      self._setup_arp_spoof_for_port(self.src_p.name, [self.src_addr])
    File "neutron/tests/functional/agent/test_ovs_flows.py", line 309, in _setup_arp_spoof_for_port
      self.br_int, vif, details)
    File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 916, in setup_arp_spoofing_protection
      bridge.set_allowed_macs_for_port(vif.ofport, mac_addresses)
    File "neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_int.py", line 150, in set_allowed_macs_for_port
      in_port=port).splitlines()
  AttributeError: 'NoneType' object has no attribute 'splitlines'

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


Follow ups