yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93547
[Bug 2054435] [NEW] Testing errors when using new netaddr library
Public bug reported:
Failures can be seen in
neutron.tests.unit.agent.linux.openvswitch_firewall.test_firewall.TestConjIPFlowManager
unit tests with netaddr >= 1.0.0 (see e.g.
https://zuul.opendev.org/t/openstack/build/3f23859f8ce44ebbb41eda01b76d1d3b):
netaddr.core.AddrFormatError: '1' is not a valid IPv4 address string!
The code being executed is
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/openvswitch_firewall/firewall.py", line 426, in _update_flows_for_vlan_subr
removed_ips = set([str(netaddr.IPNetwork(addr[0]).cidr) for addr in (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Debugging shows that in that moment addr=="10.22.3.4", so addr[0]=="1",
which newer netaddr complains about as invalid.
** 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/2054435
Title:
Testing errors when using new netaddr library
Status in neutron:
New
Bug description:
Failures can be seen in
neutron.tests.unit.agent.linux.openvswitch_firewall.test_firewall.TestConjIPFlowManager
unit tests with netaddr >= 1.0.0 (see e.g.
https://zuul.opendev.org/t/openstack/build/3f23859f8ce44ebbb41eda01b76d1d3b):
netaddr.core.AddrFormatError: '1' is not a valid IPv4 address string!
The code being executed is
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/agent/linux/openvswitch_firewall/firewall.py", line 426, in _update_flows_for_vlan_subr
removed_ips = set([str(netaddr.IPNetwork(addr[0]).cidr) for addr in (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Debugging shows that in that moment addr=="10.22.3.4", so
addr[0]=="1", which newer netaddr complains about as invalid.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2054435/+subscriptions
Follow ups