START usr.sbin/ospf6d 2024-11-01T06:31:00Z ==== network_statement ==== ksh /usr/src/regress/usr.sbin/ospf6d/network_statement.sh /usr/sbin/ospf6d /usr/src/regress/usr.sbin/ospf6d /usr/src/regress/usr.sbin/ospf6d/obj 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/obj/ospf6d.1.conf + chmod 0600 /usr/src/regress/usr.sbin/ospf6d/obj/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/obj/ospf6d.2.conf + chmod 0600 /usr/src/regress/usr.sbin/ospf6d/obj/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/obj/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::ec4:7aff:fe6a:1835/64 interface with index 3 not found if_newaddr: ifindex 3, addr fe80::92e2:baff:fea4:7686/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:81::21/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:100::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:106::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:104::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:108::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:124::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:128::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:144::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:148::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:164::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:168::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:184::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:188::17/64 interface with index 4 not found interface with index 5 not found interface with index 7 not found if_newaddr: ifindex 7, addr fe80::fce1:baff:fed0:d37c/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 561 not found if_newaddr: ifindex 561, addr fe80::fce1:baff:fed9:d414/64 if_newaddr: ifindex 561, addr 2001:db8::11/64 interface with index 562 not found if_newaddr: ifindex 562, addr fe80::1/64, dest :: if_newaddr: ifindex 562, addr 2001:db8:aaaa::11/128, dest :: interface with index 563 not found if_newaddr: ifindex 563, addr fe80::fce1:baff:feda:eec9/64 if_newaddr: ifindex 563, addr 2001:db8::12/64 interface with index 564 not found if_newaddr: ifindex 564, addr fe80::1/64, dest :: if_newaddr: ifindex 564, addr 2001:db8:aaaa::12/128, dest :: interface with index 565 not found if_newaddr: ifindex 565, addr fe80::fce1:baff:fedb:57d5/64 if_newaddr: ifindex 565, addr 2001:db8:11::/64 interface with index 566 not found if_newaddr: ifindex 566, addr fe80::fce1:baff:fedc:19cb/64 if_newaddr: ifindex 566, addr 2001:db8:12::/64 if_newaddr: ifindex 566, addr 2001:db8:12:12::/64 + route -T 12 exec /usr/sbin/ospf6d -v -f /usr/src/regress/usr.sbin/ospf6d/obj/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::ec4:7aff:fe6a:1835/64 interface with index 3 not found if_newaddr: ifindex 3, addr fe80::92e2:baff:fea4:7686/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:81::21/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:100::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:106::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:104::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:108::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:124::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:128::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:144::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:148::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:164::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:168::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:184::17/64 if_newaddr: ifindex 3, addr fdd7:e83e:66bc:188::17/64 interface with index 4 not found interface with index 5 not found interface with index 7 not found if_newaddr: ifindex 7, addr fe80::fce1:baff:fed0:d37c/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 561 not found if_newaddr: ifindex 561, addr fe80::fce1:baff:fed9:d414/64 if_newaddr: ifindex 561, addr 2001:db8::11/64 interface with index 562 not found if_newaddr: ifindex 562, addr fe80::1/64, dest :: if_newaddr: ifindex 562, addr 2001:db8:aaaa::11/128, dest :: interface with index 563 not found if_newaddr: ifindex 563, addr fe80::fce1:baff:feda:eec9/64 if_newaddr: ifindex 563, addr 2001:db8::12/64 interface with index 564 not found if_newaddr: ifindex 564, addr fe80::1/64, dest :: if_newaddr: ifindex 564, addr 2001:db8:aaaa::12/128, dest :: interface with index 565 not found if_newaddr: ifindex 565, addr fe80::fce1:baff:fedb:57d5/64 if_newaddr: ifindex 565, addr 2001:db8:11::/64 interface with index 566 not found if_newaddr: ifindex 566, addr fe80::fce1:baff:fedc:19cb/64 if_newaddr: ifindex 566, addr 2001:db8:12::/64 if_newaddr: ifindex 566, addr 2001:db8:12:12::/64 + sleep 55 + 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:eec9%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:eec9%pair11 *O 62 2001:db8:12:12::/64 fe80::fce1:baff:feda:eec9%pair11 * 1 2001:db8:aaaa::11/128 2001:db8:aaaa::11 *O 62 2001:db8:aaaa::12/128 fe80::fce1:baff:feda:eec9%pair11 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:feda:eec9%pair11 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:feda:eec9%pair11 *C 4 fe80::%pair11/64 fe80::fce1:baff:fed9:d414%pair11 * 1 fe80::1%lo11/128 fe80::1%lo11 *C 4 fe80::%vether11/64 fe80::fce1:baff:fedb:57d5%vether11 * 4 ff01::%pair11/32 fe80::fce1:baff:fed9:d414%pair11 * 4 ff01::%lo11/32 fe80::1%lo11 * 4 ff01::%vether11/32 fe80::fce1:baff:fedb:57d5%vether11 * 4 ff02::%pair11/32 fe80::fce1:baff:fed9:d414%pair11 * 4 ff02::%lo11/32 fe80::1%lo11 * 4 ff02::%vether11/32 fe80::fce1:baff:fedb:57d5%vether11 + route -T 11 exec ospf6ctl sh rib Destination Nexthop Path Type Type Cost Uptime ::2.2.2.2 fe80::fce1:baff:feda:eec9%pair11 Inter-Area Router 10 00:00:08 2001:db8::/64 :: C Intra-Area Network 10 00:00:14 2001:db8:12::/64 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 65545 00:00:08 2001:db8:12:12::/64 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 65545 00:00:08 2001:db8:aaaa::12/128 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 10 00:00:08 ::/0 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 2001:db8:fffe::/64 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 2001:db8:ffff::/126 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:aaaa::12/128 2001:db8:aaaa::12/128 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 10 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:12::/64 2001:db8:12::/64 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 65545 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:12:12::/64 2001:db8:12:12::/64 fe80::fce1:baff:feda:eec9%pair11 Intra-Area Network 65545 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:ffff::/126 2001:db8:ffff::/126 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep 2001:db8:fffe::/64 2001:db8:fffe::/64 fe80::fce1:baff:feda:eec9%pair11 Type 1 ext Network 110 00:00:08 + exit 0 + error_notify 0 cleanup SUCCESS PASS usr.sbin/ospf6d Duration 0m56.83s