==== network_statement ==== doas -n ksh /home/src/regress/usr.sbin/ospf6d/network_statement.sh /usr/sbin/ospf6d /home/src/regress/usr.sbin/ospf6d /home/src/regress/usr.sbin/ospf6d/obj 38 39 pair38 pair39 check if rdomains are busy check if interfaces are busy + echo setup setup + ifconfig pair38 inet6 rdomain 38 2001:db8::38/64 up + ifconfig pair39 inet6 rdomain 39 2001:db8::39/64 up + ifconfig pair38 patch pair39 + ifconfig lo38 inet6 2001:db8:aaaa::38/128 + ifconfig lo39 inet6 2001:db8:aaaa::39/128 + ifconfig vether38 inet6 rdomain 38 2001:db8:38::/64 up + ifconfig vether39 inet6 rdomain 39 2001:db8:39::/64 up + ifconfig vether39 inet6 rdomain 39 2001:db8:39:39::/64 up + sed s/{RDOMAIN1}/38/g;s/{PAIR1}/pair38/g /home/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain1.conf + > /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf + chmod 0600 /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf + sed s/{RDOMAIN2}/39/g;s/{PAIR2}/pair39/g /home/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain2.conf + > /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf + chmod 0600 /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf + echo add routes add routes + route -T 39 add -inet6 default 2001:db8:39::1 add net default: gateway 2001:db8:39::1 + route -T 39 add 2001:db8:ffff::/126 2001:db8:39::2 add net 2001:db8:ffff::/126: gateway 2001:db8:39::2 + route -T 39 add 2001:db8:fffe::/64 2001:db8:39::3 -label toOSPF add net 2001:db8:fffe::/64: gateway 2001:db8:39::3 + echo start ospf6d start ospf6d + route -T 38 exec /usr/sbin/ospf6d -v -f /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf interface with index 4 not found if_newaddr: ifindex 4, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found interface with index 5 not found interface with index 298 not found if_newaddr: ifindex 298, addr fe80::1/64, dest :: interface with index 476 not found if_newaddr: ifindex 476, addr fe80::fce1:baff:fedb:813d/64 if_newaddr: ifindex 476, addr 2001:db8::38/64 interface with index 477 not found if_newaddr: ifindex 477, addr fe80::1/64, dest :: if_newaddr: ifindex 477, addr 2001:db8:aaaa::38/128, dest :: interface with index 478 not found if_newaddr: ifindex 478, addr fe80::fce1:baff:fedc:3ece/64 if_newaddr: ifindex 478, addr 2001:db8::39/64 interface with index 479 not found if_newaddr: ifindex 479, addr fe80::1/64, dest :: if_newaddr: ifindex 479, addr 2001:db8:aaaa::39/128, dest :: interface with index 480 not found if_newaddr: ifindex 480, addr fe80::fce1:baff:fedd:9e96/64 if_newaddr: ifindex 480, addr 2001:db8:38::/64 interface with index 481 not found if_newaddr: ifindex 481, addr fe80::fce1:baff:fede:8334/64 if_newaddr: ifindex 481, addr 2001:db8:39::/64 if_newaddr: ifindex 481, addr 2001:db8:39:39::/64 + route -T 39 exec /usr/sbin/ospf6d -v -f /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf interface with index 4 not found if_newaddr: ifindex 4, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found interface with index 5 not found interface with index 298 not found if_newaddr: ifindex 298, addr fe80::1/64, dest :: interface with index 476 not found if_newaddr: ifindex 476, addr fe80::fce1:baff:fedb:813d/64 if_newaddr: ifindex 476, addr 2001:db8::38/64 interface with index 477 not found if_newaddr: ifindex 477, addr fe80::1/64, dest :: if_newaddr: ifindex 477, addr 2001:db8:aaaa::38/128, dest :: interface with index 478 not found if_newaddr: ifindex 478, addr fe80::fce1:baff:fedc:3ece/64 if_newaddr: ifindex 478, addr 2001:db8::39/64 interface with index 479 not found if_newaddr: ifindex 479, addr fe80::1/64, dest :: if_newaddr: ifindex 479, addr 2001:db8:aaaa::39/128, dest :: interface with index 480 not found if_newaddr: ifindex 480, addr fe80::fce1:baff:fedd:9e96/64 if_newaddr: ifindex 480, addr 2001:db8:38::/64 interface with index 481 not found if_newaddr: ifindex 481, addr fe80::fce1:baff:fede:8334/64 if_newaddr: ifindex 481, addr 2001:db8:39::/64 if_newaddr: ifindex 481, addr 2001:db8:39:39::/64 + sleep 55 + echo tests tests + route -T 38 exec ospf6ctl sh fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *O 62 ::/0 fe80::fce1:baff:fedc:3ece%pair38 *C 0 ::1/128 link#0 * 1 ::1/128 ::1 *C 4 2001:db8::/64 2001:db8::38 *C 4 2001:db8:38::/64 2001:db8:38:: *O 62 2001:db8:39::/64 fe80::fce1:baff:fedc:3ece%pair38 *O 62 2001:db8:39:39::/64 fe80::fce1:baff:fedc:3ece%pair38 * 1 2001:db8:aaaa::38/128 2001:db8:aaaa::38 *O 62 2001:db8:aaaa::39/128 fe80::fce1:baff:fedc:3ece%pair38 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:fedc:3ece%pair38 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:fedc:3ece%pair38 *C 4 fe80::%pair38/64 fe80::fce1:baff:fedb:813d%pair38 * 1 fe80::1%lo38/128 fe80::1%lo38 *C 4 fe80::%vether38/64 fe80::fce1:baff:fedd:9e96%vether38 * 4 ff01::%pair38/32 fe80::fce1:baff:fedb:813d%pair38 * 4 ff01::%lo38/32 fe80::1%lo38 * 4 ff01::%vether38/32 fe80::fce1:baff:fedd:9e96%vether38 * 4 ff02::%pair38/32 fe80::fce1:baff:fedb:813d%pair38 * 4 ff02::%lo38/32 fe80::1%lo38 * 4 ff02::%vether38/32 fe80::fce1:baff:fedd:9e96%vether38 + route -T 38 exec ospf6ctl sh rib Destination Nexthop Path Type Type Cost Uptime ::2.2.2.2 fe80::fce1:baff:fedc:3ece%pair38 Inter-Area Router 10 00:00:08 2001:db8::/64 :: C Intra-Area Network 10 00:00:14 2001:db8:39::/64 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 65545 00:00:08 2001:db8:39:39::/64 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 65545 00:00:08 2001:db8:aaaa::39/128 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 10 00:00:08 ::/0 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 2001:db8:fffe::/64 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 2001:db8:ffff::/126 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:aaaa::39/128 2001:db8:aaaa::39/128 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 10 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:39::/64 2001:db8:39::/64 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 65545 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:39:39::/64 2001:db8:39:39::/64 fe80::fce1:baff:fedc:3ece%pair38 Intra-Area Network 65545 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:ffff::/126 2001:db8:ffff::/126 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:fffe::/64 2001:db8:fffe::/64 fe80::fce1:baff:fedc:3ece%pair38 Type 1 ext Network 110 00:00:08 + exit 0 + error_notify 0 cleanup SUCCESS