START usr.sbin/ospf6d 2021-02-21T20:59:15Z ==== network_statement ==== ksh /usr/src/regress/usr.sbin/ospf6d/network_statement.sh /usr/sbin/ospf6d /usr/src/regress/usr.sbin/ospf6d 11 12 pair11 pair12 check if rdomains are busy check if interfaces are busy + echo setup setup + ifconfig pair11 inet6 rdomain 11 2001:db8::11/64 up + ifconfig pair12 inet6 rdomain 12 2001:db8::12/64 up + ifconfig pair11 patch pair12 + ifconfig lo11 inet6 2001:db8:aaaa::11/128 + ifconfig lo12 inet6 2001:db8:aaaa::12/128 + ifconfig vether11 inet6 rdomain 11 2001:db8:11::/64 up + ifconfig vether12 inet6 rdomain 12 2001:db8:12::/64 up + ifconfig vether12 inet6 rdomain 12 2001:db8:12:12::/64 up + sed s/{RDOMAIN1}/11/g;s/{PAIR1}/pair11/g /usr/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain1.conf + > /usr/src/regress/usr.sbin/ospf6d/ospf6d.1.conf + chmod 0600 /usr/src/regress/usr.sbin/ospf6d/ospf6d.1.conf + sed s/{RDOMAIN2}/12/g;s/{PAIR2}/pair12/g /usr/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain2.conf + > /usr/src/regress/usr.sbin/ospf6d/ospf6d.2.conf + chmod 0600 /usr/src/regress/usr.sbin/ospf6d/ospf6d.2.conf + echo add routes add routes + route -T 12 add -inet6 default 2001:db8:12::1 add net default: gateway 2001:db8:12::1 + route -T 12 add 2001:db8:ffff::/126 2001:db8:12::2 add net 2001:db8:ffff::/126: gateway 2001:db8:12::2 + route -T 12 add 2001:db8:fffe::/64 2001:db8:12::3 -label toOSPF add net 2001:db8:fffe::/64: gateway 2001:db8:12::3 + echo start ospf6d start ospf6d + route -T 11 exec /usr/sbin/ospf6d -v -f /usr/src/regress/usr.sbin/ospf6d/ospf6d.1.conf interface with index 8 not found if_newaddr: ifindex 8, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found if_newaddr: ifindex 3, addr fe80::9a03:9bff:fe82:edf7/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:31::30/64 interface with index 4 not found interface with index 5 not found interface with index 6 not found interface with index 7 not found interface with index 9 not found interface with index 10 not found interface with index 111 not found if_newaddr: ifindex 111, addr fe80::1/64, dest :: interface with index 303 not found interface with index 316 not found interface with index 318 not found interface with index 322 not found interface with index 326 not found interface with index 330 not found interface with index 334 not found interface with index 441 not found if_newaddr: ifindex 441, addr fe80::fce1:baff:fedd:5b05/64 if_newaddr: ifindex 441, addr 2001:db8::11/64 interface with index 442 not found if_newaddr: ifindex 442, addr fe80::1/64, dest :: if_newaddr: ifindex 442, addr 2001:db8:aaaa::11/128, dest :: interface with index 443 not found if_newaddr: ifindex 443, addr fe80::fce1:baff:fede:4043/64 if_newaddr: ifindex 443, addr 2001:db8::12/64 interface with index 444 not found if_newaddr: ifindex 444, addr fe80::1/64, dest :: if_newaddr: ifindex 444, addr 2001:db8:aaaa::12/128, dest :: interface with index 445 not found if_newaddr: ifindex 445, addr fe80::fce1:baff:fedf:2670/64 if_newaddr: ifindex 445, addr 2001:db8:11::/64 interface with index 446 not found if_newaddr: ifindex 446, addr fe80::fce1:baff:fed0:4250/64 if_newaddr: ifindex 446, addr 2001:db8:12::/64 if_newaddr: ifindex 446, addr 2001:db8:12:12::/64 + route -T 12 exec /usr/sbin/ospf6d -v -f /usr/src/regress/usr.sbin/ospf6d/ospf6d.2.conf interface with index 8 not found if_newaddr: ifindex 8, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found if_newaddr: ifindex 3, addr fe80::9a03:9bff:fe82:edf7/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:31::30/64 interface with index 4 not found interface with index 5 not found interface with index 6 not found interface with index 7 not found interface with index 9 not found interface with index 10 not found interface with index 111 not found if_newaddr: ifindex 111, addr fe80::1/64, dest :: interface with index 303 not found interface with index 316 not found interface with index 318 not found interface with index 322 not found interface with index 326 not found interface with index 330 not found interface with index 334 not found interface with index 441 not found if_newaddr: ifindex 441, addr fe80::fce1:baff:fedd:5b05/64 if_newaddr: ifindex 441, addr 2001:db8::11/64 interface with index 442 not found if_newaddr: ifindex 442, addr fe80::1/64, dest :: if_newaddr: ifindex 442, addr 2001:db8:aaaa::11/128, dest :: interface with index 443 not found if_newaddr: ifindex 443, addr fe80::fce1:baff:fede:4043/64 if_newaddr: ifindex 443, addr 2001:db8::12/64 interface with index 444 not found if_newaddr: ifindex 444, addr fe80::1/64, dest :: if_newaddr: ifindex 444, addr 2001:db8:aaaa::12/128, dest :: interface with index 445 not found if_newaddr: ifindex 445, addr fe80::fce1:baff:fedf:2670/64 if_newaddr: ifindex 445, addr 2001:db8:11::/64 interface with index 446 not found if_newaddr: ifindex 446, addr fe80::fce1:baff:fed0:4250/64 if_newaddr: ifindex 446, addr 2001:db8:12::/64 if_newaddr: ifindex 446, addr 2001:db8:12:12::/64 + sleep 50 + echo tests tests + route -T 11 exec ospf6ctl sh fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *O 62 ::/0 fe80::fce1:baff:fede:4043%pair11 *C 0 ::1/128 link#0 * 1 ::1/128 ::1 *C 4 2001:db8::/64 2001:db8::11 *C 4 2001:db8:11::/64 2001:db8:11:: *O 62 2001:db8:12::/64 fe80::fce1:baff:fede:4043%pair11 *O 62 2001:db8:12:12::/64 fe80::fce1:baff:fede:4043%pair11 * 1 2001:db8:aaaa::11/128 2001:db8:aaaa::11 *O 62 2001:db8:aaaa::12/128 fe80::fce1:baff:fede:4043%pair11 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:fede:4043%pair11 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:fede:4043%pair11 *C 4 fe80::%pair11/64 fe80::fce1:baff:fedd:5b05%pair11 * 1 fe80::1%lo11/128 fe80::1%lo11 *C 4 fe80::%vether11/64 fe80::fce1:baff:fedf:2670%vether11 * 4 ff01::%pair11/32 fe80::fce1:baff:fedd:5b05%pair11 * 4 ff01::%lo11/32 fe80::1%lo11 * 4 ff01::%vether11/32 fe80::fce1:baff:fedf:2670%vether11 * 4 ff02::%pair11/32 fe80::fce1:baff:fedd:5b05%pair11 * 4 ff02::%lo11/32 fe80::1%lo11 * 4 ff02::%vether11/32 fe80::fce1:baff:fedf:2670%vether11 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:aaaa::12/128 2001:db8:aaaa::12/128 fe80::fce1:baff:fede:4043%pair11 Intra-Area Network 10 00:00:03 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:12::/64 2001:db8:12::/64 fe80::fce1:baff:fede:4043%pair11 Intra-Area Network 65545 00:00:03 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:12:12::/64 2001:db8:12:12::/64 fe80::fce1:baff:fede:4043%pair11 Intra-Area Network 65545 00:00:03 + grep 2001:db8:ffff::/126 + route -T 11 exec ospf6ctl sh rib 2001:db8:ffff::/126 fe80::fce1:baff:fede:4043%pair11 Type 1 ext Network 110 00:00:03 + grep ::/0 + route -T 11 exec ospf6ctl sh rib ::/0 fe80::fce1:baff:fede:4043%pair11 Type 1 ext Network 110 00:00:03 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:fffe::/64 2001:db8:fffe::/64 fe80::fce1:baff:fede:4043%pair11 Type 1 ext Network 110 00:00:03 + exit 0 + error_notify 0 cleanup SUCCESS PASS usr.sbin/ospf6d Duration 0m51.80s