START usr.sbin/ospf6d 2024-04-26T01:19:27Z ==== 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 3 not found if_newaddr: ifindex 3, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 4 not found interface with index 544 not found if_newaddr: ifindex 544, addr fe80::fce1:baff:fed2:2203/64 if_newaddr: ifindex 544, addr 2001:db8::11/64 interface with index 545 not found if_newaddr: ifindex 545, addr fe80::1/64, dest :: if_newaddr: ifindex 545, addr 2001:db8:aaaa::11/128, dest :: interface with index 546 not found if_newaddr: ifindex 546, addr fe80::fce1:baff:fed3:339f/64 if_newaddr: ifindex 546, addr 2001:db8::12/64 interface with index 547 not found if_newaddr: ifindex 547, addr fe80::1/64, dest :: if_newaddr: ifindex 547, addr 2001:db8:aaaa::12/128, dest :: interface with index 548 not found if_newaddr: ifindex 548, addr fe80::fce1:baff:fed4:fbc1/64 if_newaddr: ifindex 548, addr 2001:db8:11::/64 interface with index 549 not found if_newaddr: ifindex 549, addr fe80::fce1:baff:fed5:480f/64 if_newaddr: ifindex 549, addr 2001:db8:12::/64 if_newaddr: ifindex 549, 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 3 not found if_newaddr: ifindex 3, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 4 not found interface with index 544 not found if_newaddr: ifindex 544, addr fe80::fce1:baff:fed2:2203/64 if_newaddr: ifindex 544, addr 2001:db8::11/64 interface with index 545 not found if_newaddr: ifindex 545, addr fe80::1/64, dest :: if_newaddr: ifindex 545, addr 2001:db8:aaaa::11/128, dest :: interface with index 546 not found if_newaddr: ifindex 546, addr fe80::fce1:baff:fed3:339f/64 if_newaddr: ifindex 546, addr 2001:db8::12/64 interface with index 547 not found if_newaddr: ifindex 547, addr fe80::1/64, dest :: if_newaddr: ifindex 547, addr 2001:db8:aaaa::12/128, dest :: interface with index 548 not found if_newaddr: ifindex 548, addr fe80::fce1:baff:fed4:fbc1/64 if_newaddr: ifindex 548, addr 2001:db8:11::/64 interface with index 549 not found if_newaddr: ifindex 549, addr fe80::fce1:baff:fed5:480f/64 if_newaddr: ifindex 549, addr 2001:db8:12::/64 if_newaddr: ifindex 549, 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:fed3:339f%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:fed3:339f%pair11 *O 62 2001:db8:12:12::/64 fe80::fce1:baff:fed3:339f%pair11 * 1 2001:db8:aaaa::11/128 2001:db8:aaaa::11 *O 62 2001:db8:aaaa::12/128 fe80::fce1:baff:fed3:339f%pair11 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:fed3:339f%pair11 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:fed3:339f%pair11 *C 4 fe80::%pair11/64 fe80::fce1:baff:fed2:2203%pair11 * 1 fe80::1%lo11/128 fe80::1%lo11 *C 4 fe80::%vether11/64 fe80::fce1:baff:fed4:fbc1%vether11 * 4 ff01::%pair11/32 fe80::fce1:baff:fed2:2203%pair11 * 4 ff01::%lo11/32 fe80::1%lo11 * 4 ff01::%vether11/32 fe80::fce1:baff:fed4:fbc1%vether11 * 4 ff02::%pair11/32 fe80::fce1:baff:fed2:2203%pair11 * 4 ff02::%lo11/32 fe80::1%lo11 * 4 ff02::%vether11/32 fe80::fce1:baff:fed4:fbc1%vether11 + route -T 11 exec ospf6ctl sh rib Destination Nexthop Path Type Type Cost Uptime ::2.2.2.2 fe80::fce1:baff:fed3:339f%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:fed3:339f%pair11 Intra-Area Network 65545 00:00:08 2001:db8:12:12::/64 fe80::fce1:baff:fed3:339f%pair11 Intra-Area Network 65545 00:00:08 2001:db8:aaaa::12/128 fe80::fce1:baff:fed3:339f%pair11 Intra-Area Network 10 00:00:08 ::/0 fe80::fce1:baff:fed3:339f%pair11 Type 1 ext Network 110 00:00:08 2001:db8:fffe::/64 fe80::fce1:baff:fed3:339f%pair11 Type 1 ext Network 110 00:00:08 2001:db8:ffff::/126 fe80::fce1:baff:fed3:339f%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:fed3:339f%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:fed3:339f%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:fed3:339f%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:fed3:339f%pair11 Type 1 ext Network 110 00:00:08 + route -T 11 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:fed3:339f%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:fed3:339f%pair11 Type 1 ext Network 110 00:00:08 + exit 0 + error_notify 0 cleanup SUCCESS PASS usr.sbin/ospf6d Duration 0m57.22s