START usr.sbin/ospf6d 2021-04-08T05:37:57Z ==== 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 6 not found if_newaddr: ifindex 6, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found if_newaddr: ifindex 2, addr fe80::21b:21ff:fe0e:6e8e/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:81::21/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:100::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:106::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:104::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:108::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:124::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:128::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:144::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:148::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:164::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:168::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:184::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:188::17/64 interface with index 3 not found interface with index 4 not found if_newaddr: ifindex 4, addr fe80::230:48ff:fe8c:5021/64 interface with index 5 not found interface with index 7 not found if_newaddr: ifindex 7, addr fe80::fce1:baff:fed0:7f89/64 if_newaddr: ifindex 7, addr fdd7:e83e:66bc:90::21/64 if_newaddr: ifindex 7, addr fdd7:e83e:66bc:91::21/64 interface with index 8 not found interface with index 109 not found if_newaddr: ifindex 109, addr fe80::1/64, dest :: interface with index 301 not found interface with index 314 not found interface with index 316 not found interface with index 320 not found interface with index 324 not found interface with index 328 not found interface with index 332 not found interface with index 439 not found if_newaddr: ifindex 439, addr fe80::fce1:baff:fed9:43db/64 if_newaddr: ifindex 439, addr 2001:db8::11/64 interface with index 440 not found if_newaddr: ifindex 440, addr fe80::1/64, dest :: if_newaddr: ifindex 440, addr 2001:db8:aaaa::11/128, dest :: interface with index 441 not found if_newaddr: ifindex 441, addr fe80::fce1:baff:feda:860e/64 if_newaddr: ifindex 441, addr 2001:db8::12/64 interface with index 442 not found if_newaddr: ifindex 442, addr fe80::1/64, dest :: if_newaddr: ifindex 442, addr 2001:db8:aaaa::12/128, dest :: interface with index 443 not found if_newaddr: ifindex 443, addr fe80::fce1:baff:fedb:34ce/64 if_newaddr: ifindex 443, addr 2001:db8:11::/64 interface with index 444 not found if_newaddr: ifindex 444, addr fe80::fce1:baff:fedc:a930/64 if_newaddr: ifindex 444, addr 2001:db8:12::/64 if_newaddr: ifindex 444, 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 6 not found if_newaddr: ifindex 6, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found if_newaddr: ifindex 2, addr fe80::21b:21ff:fe0e:6e8e/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:81::21/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:100::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:106::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:104::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:108::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:124::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:128::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:144::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:148::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:164::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:168::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:184::17/64 if_newaddr: ifindex 2, addr fdd7:e83e:66bc:188::17/64 interface with index 3 not found interface with index 4 not found if_newaddr: ifindex 4, addr fe80::230:48ff:fe8c:5021/64 interface with index 5 not found interface with index 7 not found if_newaddr: ifindex 7, addr fe80::fce1:baff:fed0:7f89/64 if_newaddr: ifindex 7, addr fdd7:e83e:66bc:90::21/64 if_newaddr: ifindex 7, addr fdd7:e83e:66bc:91::21/64 interface with index 8 not found interface with index 109 not found if_newaddr: ifindex 109, addr fe80::1/64, dest :: interface with index 301 not found interface with index 314 not found interface with index 316 not found interface with index 320 not found interface with index 324 not found interface with index 328 not found interface with index 332 not found interface with index 439 not found if_newaddr: ifindex 439, addr fe80::fce1:baff:fed9:43db/64 if_newaddr: ifindex 439, addr 2001:db8::11/64 interface with index 440 not found if_newaddr: ifindex 440, addr fe80::1/64, dest :: if_newaddr: ifindex 440, addr 2001:db8:aaaa::11/128, dest :: interface with index 441 not found if_newaddr: ifindex 441, addr fe80::fce1:baff:feda:860e/64 if_newaddr: ifindex 441, addr 2001:db8::12/64 interface with index 442 not found if_newaddr: ifindex 442, addr fe80::1/64, dest :: if_newaddr: ifindex 442, addr 2001:db8:aaaa::12/128, dest :: interface with index 443 not found if_newaddr: ifindex 443, addr fe80::fce1:baff:fedb:34ce/64 if_newaddr: ifindex 443, addr 2001:db8:11::/64 interface with index 444 not found if_newaddr: ifindex 444, addr fe80::fce1:baff:fedc:a930/64 if_newaddr: ifindex 444, addr 2001:db8:12::/64 if_newaddr: ifindex 444, 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:feda:860e%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:feda:860e%pair11 *O 62 2001:db8:12:12::/64 fe80::fce1:baff:feda:860e%pair11 * 1 2001:db8:aaaa::11/128 2001:db8:aaaa::11 *O 62 2001:db8:aaaa::12/128 fe80::fce1:baff:feda:860e%pair11 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:feda:860e%pair11 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:feda:860e%pair11 *C 4 fe80::%pair11/64 fe80::fce1:baff:fed9:43db%pair11 * 1 fe80::1%lo11/128 fe80::1%lo11 *C 4 fe80::%vether11/64 fe80::fce1:baff:fedb:34ce%vether11 * 4 ff01::%pair11/32 fe80::fce1:baff:fed9:43db%pair11 * 4 ff01::%lo11/32 fe80::1%lo11 * 4 ff01::%vether11/32 fe80::fce1:baff:fedb:34ce%vether11 * 4 ff02::%pair11/32 fe80::fce1:baff:fed9:43db%pair11 * 4 ff02::%lo11/32 fe80::1%lo11 * 4 ff02::%vether11/32 fe80::fce1:baff:fedb:34ce%vether11 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:aaaa::12/128 2001:db8:aaaa::12/128 fe80::fce1:baff:feda:860e%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:feda:860e%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:feda:860e%pair11 Intra-Area Network 65545 00:00:03 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:ffff::/126 2001:db8:ffff::/126 fe80::fce1:baff:feda:860e%pair11 Type 1 ext Network 110 00:00:03 + route -T 11 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:feda:860e%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:feda:860e%pair11 Type 1 ext Network 110 00:00:03 + exit 0 + error_notify 0 cleanup SUCCESS PASS usr.sbin/ospf6d Duration 0m51.38s