==== 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 304 not found if_newaddr: ifindex 304, addr fe80::1/64, dest :: interface with index 490 not found interface with index 492 not found interface with index 501 not found interface with index 502 not found if_newaddr: ifindex 502, addr fe80::fce1:baff:fed8:454b/64 if_newaddr: ifindex 502, addr 2001:db8::38/64 interface with index 503 not found if_newaddr: ifindex 503, addr fe80::1/64, dest :: if_newaddr: ifindex 503, addr 2001:db8:aaaa::38/128, dest :: interface with index 504 not found if_newaddr: ifindex 504, addr fe80::fce1:baff:fed9:3b82/64 if_newaddr: ifindex 504, addr 2001:db8::39/64 interface with index 505 not found if_newaddr: ifindex 505, addr fe80::1/64, dest :: if_newaddr: ifindex 505, addr 2001:db8:aaaa::39/128, dest :: interface with index 506 not found if_newaddr: ifindex 506, addr fe80::fce1:baff:feda:bedb/64 if_newaddr: ifindex 506, addr 2001:db8:38::/64 interface with index 507 not found if_newaddr: ifindex 507, addr fe80::fce1:baff:fedb:773e/64 if_newaddr: ifindex 507, addr 2001:db8:39::/64 if_newaddr: ifindex 507, 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 304 not found if_newaddr: ifindex 304, addr fe80::1/64, dest :: interface with index 490 not found interface with index 492 not found interface with index 501 not found interface with index 502 not found if_newaddr: ifindex 502, addr fe80::fce1:baff:fed8:454b/64 if_newaddr: ifindex 502, addr 2001:db8::38/64 interface with index 503 not found if_newaddr: ifindex 503, addr fe80::1/64, dest :: if_newaddr: ifindex 503, addr 2001:db8:aaaa::38/128, dest :: interface with index 504 not found if_newaddr: ifindex 504, addr fe80::fce1:baff:fed9:3b82/64 if_newaddr: ifindex 504, addr 2001:db8::39/64 interface with index 505 not found if_newaddr: ifindex 505, addr fe80::1/64, dest :: if_newaddr: ifindex 505, addr 2001:db8:aaaa::39/128, dest :: interface with index 506 not found if_newaddr: ifindex 506, addr fe80::fce1:baff:feda:bedb/64 if_newaddr: ifindex 506, addr 2001:db8:38::/64 interface with index 507 not found if_newaddr: ifindex 507, addr fe80::fce1:baff:fedb:773e/64 if_newaddr: ifindex 507, addr 2001:db8:39::/64 if_newaddr: ifindex 507, 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:fed9:3b82%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:fed9:3b82%pair38 *O 62 2001:db8:39:39::/64 fe80::fce1:baff:fed9:3b82%pair38 * 1 2001:db8:aaaa::38/128 2001:db8:aaaa::38 *O 62 2001:db8:aaaa::39/128 fe80::fce1:baff:fed9:3b82%pair38 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:fed9:3b82%pair38 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:fed9:3b82%pair38 *C 4 fe80::%pair38/64 fe80::fce1:baff:fed8:454b%pair38 * 1 fe80::1%lo38/128 fe80::1%lo38 *C 4 fe80::%vether38/64 fe80::fce1:baff:feda:bedb%vether38 * 4 ff01::%pair38/32 fe80::fce1:baff:fed8:454b%pair38 * 4 ff01::%lo38/32 fe80::1%lo38 * 4 ff01::%vether38/32 fe80::fce1:baff:feda:bedb%vether38 * 4 ff02::%pair38/32 fe80::fce1:baff:fed8:454b%pair38 * 4 ff02::%lo38/32 fe80::1%lo38 * 4 ff02::%vether38/32 fe80::fce1:baff:feda:bedb%vether38 + route -T 38 exec ospf6ctl sh rib Destination Nexthop Path Type Type Cost Uptime ::2.2.2.2 fe80::fce1:baff:fed9:3b82%pair38 Inter-Area Router 10 00:00:03 2001:db8::/64 :: C Intra-Area Network 10 00:00:09 2001:db8:39::/64 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 65545 00:00:03 2001:db8:39:39::/64 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 65545 00:00:03 2001:db8:aaaa::39/128 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 10 00:00:03 ::/0 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 2001:db8:fffe::/64 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 2001:db8:ffff::/126 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:aaaa::39/128 2001:db8:aaaa::39/128 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 10 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:39::/64 2001:db8:39::/64 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 65545 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:39:39::/64 2001:db8:39:39::/64 fe80::fce1:baff:fed9:3b82%pair38 Intra-Area Network 65545 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:ffff::/126 2001:db8:ffff::/126 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 + route -T 38 exec ospf6ctl sh rib + grep 2001:db8:fffe::/64 2001:db8:fffe::/64 fe80::fce1:baff:fed9:3b82%pair38 Type 1 ext Network 110 00:00:03 + exit 0 + error_notify 0 cleanup SUCCESS