"test_add_and_remove_metering_label_rule_src_and_dest_ip_only" failing in py39
Bug #1930222 reported by
Rodolfo Alonso
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Wallaby |
Fix Released
|
High
|
Unassigned | ||
neutron |
Fix Released
|
High
|
Unassigned | ||
neutron (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Unassigned | ||
Impish |
Fix Released
|
High
|
Unassigned |
Bug Description
Snippet: http://
== Ubuntu SRU details ==
[Impact]
Test fails during package build.
[Test Case]
Successful execution of tests during package build.
[Regression Potential]
This patch fixes a test case only.
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron (Ubuntu Hirsute): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in neutron (Ubuntu Impish): | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | cloud-archive/xena |
description: | updated |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.
Python3.9 "ipaddress. ip_interface" does not support leading zeroes: ip_interface( '00.0.0. 0/0') python3. 9/ipaddress. py", line 118, in ip_interface
>>> ipaddress.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
raise ValueError('%r does not appear to be an IPv4 or IPv6 interface' %
ValueError: '00.0.0.0/0' does not appear to be an IPv4 or IPv6 interface
The class called from "ipaddress. ip_interface" : IPv4Interface( '00.0.0. 0/0') python3. 9/ipaddress. py", line 1390, in __init__ .__init_ _(self, addr) python3. 9/ipaddress. py", line 1307, in __init__ int_from_ string( addr_str) python3. 9/ipaddress. py", line 1199, in _ip_int_from_string or("%s in %r" % (exc, ip_str)) from None AddressValueErr or: Leading zeros are not permitted in '00' in '00.0.0.0'
>>> ipaddress.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
IPv4Address
File "/usr/lib/
self._ip = self._ip_
File "/usr/lib/
raise AddressValueErr
ipaddress.