Comment 19 for bug 1609898

Dan Streetman (ddstreet) wrote :

I assume you mean these 2 failing tests, below; that's correct behavior now, the tests should be changed to expect a /128 DHCPv6 address instead of a /64 DHCPv6 address.

======================================================================
FAIL: test_open_b_ip6_dhcp (__main__.T)
Open network, 802.11b, IPv6 with DHCP
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 55, in test_open_b_ip6_dhcp
    ['11.0'])
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 149, in do_test
    self.check_address(ipv6)
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 228, in check_address
    self.assertRegex(out, 'inet6 2600::[0-9a-z]+/64')
AssertionError: Regex didn't match: 'inet6 2600::[0-9a-z]+/64' not found in '20: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\n link/ether 02:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff\n inet6 2600::11/128 scope global tentative \n valid_lft forever preferred_lft forever\n inet6 fe80::ff:fe00:0/64 scope link \n valid_lft forever preferred_lft forever\n'

======================================================================
FAIL: test_wpa2_ip6 (__main__.T)
WPA2, 802.11g, IPv6
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 137, in test_wpa2_ip6
    'Authentication suites: PSK'])
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 149, in do_test
    self.check_address(ipv6)
  File "/tmp/autopkgtest.O8S7lL/build.sFx/network-manager-1.2.0/debian/tests/wpa-dhclient", line 228, in check_address
    self.assertRegex(out, 'inet6 2600::[0-9a-z]+/64')
AssertionError: Regex didn't match: 'inet6 2600::[0-9a-z]+/64' not found in '45: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\n link/ether 02:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff\n inet6 2600::12/128 scope global tentative \n valid_lft forever preferred_lft forever\n inet6 fe80::ff:fe00:0/64 scope link \n valid_lft forever preferred_lft forever\n'