ot@localhost bgp]# gmake check Making check in . gmake[1]: Entering directory `/root/Desktop/xorp/bgp' gmake test_packet aspath_test test_packet_coding isolation_tests test_peer_data test_plumbing update_test test_leaks.sh gmake[2]: Entering directory `/root/Desktop/xorp/bgp' g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_packet.o -MD -MP -MF .deps/test_packet.Tpo -c -o test_packet.o test_packet.cc mv -f .deps/test_packet.Tpo .deps/test_packet.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT dummy_main.o -MD -MP -MF .deps/dummy_main.Tpo -c -o dummy_main.o dummy_main.cc mv -f .deps/dummy_main.Tpo .deps/dummy_main.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_packet test_packet.o dummy_main.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_packet test_packet.o dummy_main.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT aspath_test.o -MD -MP -MF .deps/aspath_test.Tpo -c -o aspath_test.o aspath_test.cc mv -f .deps/aspath_test.Tpo .deps/aspath_test.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o aspath_test aspath_test.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o aspath_test aspath_test.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_packet_coding.o -MD -MP -MF .deps/test_packet_coding.Tpo -c -o test_packet_coding.o test_packet_coding.cc mv -f .deps/test_packet_coding.Tpo .deps/test_packet_coding.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_packet_coding test_packet_coding.o dummy_main.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_packet_coding test_packet_coding.o dummy_main.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_main.o -MD -MP -MF .deps/test_main.Tpo -c -o test_main.o test_main.cc mv -f .deps/test_main.Tpo .deps/test_main.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_ribin.o -MD -MP -MF .deps/test_ribin.Tpo -c -o test_ribin.o test_ribin.cc mv -f .deps/test_ribin.Tpo .deps/test_ribin.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_deletion.o -MD -MP -MF .deps/test_deletion.Tpo -c -o test_deletion.o test_deletion.cc mv -f .deps/test_deletion.Tpo .deps/test_deletion.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_filter.o -MD -MP -MF .deps/test_filter.Tpo -c -o test_filter.o test_filter.cc mv -f .deps/test_filter.Tpo .deps/test_filter.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_policy.o -MD -MP -MF .deps/test_policy.Tpo -c -o test_policy.o test_policy.cc mv -f .deps/test_policy.Tpo .deps/test_policy.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_cache.o -MD -MP -MF .deps/test_cache.Tpo -c -o test_cache.o test_cache.cc mv -f .deps/test_cache.Tpo .deps/test_cache.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_nhlookup.o -MD -MP -MF .deps/test_nhlookup.Tpo -c -o test_nhlookup.o test_nhlookup.cc mv -f .deps/test_nhlookup.Tpo .deps/test_nhlookup.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_decision.o -MD -MP -MF .deps/test_decision.Tpo -c -o test_decision.o test_decision.cc mv -f .deps/test_decision.Tpo .deps/test_decision.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_fanout.o -MD -MP -MF .deps/test_fanout.Tpo -c -o test_fanout.o test_fanout.cc mv -f .deps/test_fanout.Tpo .deps/test_fanout.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_dump.o -MD -MP -MF .deps/test_dump.Tpo -c -o test_dump.o test_dump.cc mv -f .deps/test_dump.Tpo .deps/test_dump.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_ribout.o -MD -MP -MF .deps/test_ribout.Tpo -c -o test_ribout.o test_ribout.cc mv -f .deps/test_ribout.Tpo .deps/test_ribout.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_next_hop_resolver.o -MD -MP -MF .deps/test_next_hop_resolver.Tpo -c -o test_next_hop_resolver.o test_next_hop_resolver.cc mv -f .deps/test_next_hop_resolver.Tpo .deps/test_next_hop_resolver.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT route_table_debug.o -MD -MP -MF .deps/route_table_debug.Tpo -c -o route_table_debug.o route_table_debug.cc mv -f .deps/route_table_debug.Tpo .deps/route_table_debug.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT dummy_next_hop_resolver.o -MD -MP -MF .deps/dummy_next_hop_resolver.Tpo -c -o dummy_next_hop_resolver.o dummy_next_hop_resolver.cc mv -f .deps/dummy_next_hop_resolver.Tpo .deps/dummy_next_hop_resolver.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT peer_handler_debug.o -MD -MP -MF .deps/peer_handler_debug.Tpo -c -o peer_handler_debug.o peer_handler_debug.cc mv -f .deps/peer_handler_debug.Tpo .deps/peer_handler_debug.Po g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_subnet_route.o -MD -MP -MF .deps/test_subnet_route.Tpo -c -o test_subnet_route.o test_subnet_route.cc mv -f .deps/test_subnet_route.Tpo .deps/test_subnet_route.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o isolation_tests test_main.o test_ribin.o test_deletion.o test_filter.o test_policy.o test_cache.o test_nhlookup.o test_decision.o test_fanout.o test_dump.o test_ribout.o test_next_hop_resolver.o route_table_debug.o dummy_main.o dummy_next_hop_resolver.o peer_handler_debug.o test_subnet_route.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o isolation_tests test_main.o test_ribin.o test_deletion.o test_filter.o test_policy.o test_cache.o test_nhlookup.o test_decision.o test_fanout.o test_dump.o test_ribout.o test_next_hop_resolver.o route_table_debug.o dummy_main.o dummy_next_hop_resolver.o peer_handler_debug.o test_subnet_route.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_peer_data.o -MD -MP -MF .deps/test_peer_data.Tpo -c -o test_peer_data.o test_peer_data.cc mv -f .deps/test_peer_data.Tpo .deps/test_peer_data.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_peer_data test_peer_data.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_peer_data test_peer_data.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_plumbing.o -MD -MP -MF .deps/test_plumbing.Tpo -c -o test_plumbing.o test_plumbing.cc mv -f .deps/test_plumbing.Tpo .deps/test_plumbing.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_plumbing test_plumbing.o bgp.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_plumbing test_plumbing.o bgp.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT update_test.o -MD -MP -MF .deps/update_test.Tpo -c -o update_test.o update_test.cc mv -f .deps/update_test.Tpo .deps/update_test.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o update_test update_test.o libbgp.la ../xrl/targets/libbgpbase.la ../policy/backend/libpolicybackend.la ../libfeaclient/libfeaclient.la ../xrl/interfaces/libribxif.la ../xrl/interfaces/libfindereventnotifierxif.la ../xrl/interfaces/libbgpmibtrapsxif.la ../xrl/interfaces/libprofileclientxif.la ../xrl/interfaces/libfeaifmgrmirrorxif.la ../xrl/interfaces/libfeaifmgrreplicatorxif.la ../xrl/targets/libfeaifmgrmirrorbase.la ../libxipc/libxipc.la ../libcomm/libcomm.la ../libxorp/libxorp.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o update_test update_test.o ./.libs/libbgp.a ../xrl/targets/.libs/libbgpbase.a ../policy/backend/.libs/libpolicybackend.a ../libfeaclient/.libs/libfeaclient.a ../xrl/interfaces/.libs/libribxif.a ../xrl/interfaces/.libs/libfindereventnotifierxif.a ../xrl/interfaces/.libs/libbgpmibtrapsxif.a ../xrl/interfaces/.libs/libprofileclientxif.a ../xrl/interfaces/.libs/libfeaifmgrmirrorxif.a ../xrl/interfaces/.libs/libfeaifmgrreplicatorxif.a ../xrl/targets/.libs/libfeaifmgrmirrorbase.a ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a ../libxorp/.libs/libxorp.a -lpcap -lcrypto -lrt gmake[2]: Nothing to be done for `test_leaks.sh'. gmake[2]: Leaving directory `/root/Desktop/xorp/bgp' gmake check-TESTS gmake[2]: Entering directory `/root/Desktop/xorp/bgp' LeakCheck binary not found skipping test. PASS: test_leaks.sh PASS: aspath_test Running: multiprotocol Running: multiprotocol_reach_ipv4 Running: multiprotocol_unreach Running: refresh Running: simple_open_packet Running: open_packet Running: keepalive_packet Running: notification_packets1 Running: notification_packets2 Running: notification_packets3 Running: withdraw_packet Running: announce_packet1 Running: announce_packet2 PASS: test_packet_coding Running: RibIn Running: RibInDump Running: Deletion Running: Filter Running: PolicyExport Running: Policy Running: PolicyDump Running: Cache Running: NhLookup Running: Decision Running: Fanout Running: DumpCreate Running: Dump Running: Ribout Running: SubnetRoute1 Running: SubnetRoute1.ipv6 Running: SubnetRoute2 Running: SubnetRoute2.ipv6 Running: nhr.test1 Running: nhr.test1.ipv6 Running: nhr.test2 Running: nhr.test2.ipv6 Running: nhr.test3 Running: nhr.test3.ipv6 Running: nhr.test4 Running: nhr.test4.ipv6 Running: nhr.test5 [ 2008/11/18 14:44:19 INFO isolation_tests:7622 BGP +176 next_hop_resolver.cc lookup ] FYI: Stale metrics supplied Running: nhr.test5.ipv6 [ 2008/11/18 14:44:19 INFO isolation_tests:7622 BGP +176 next_hop_resolver.cc lookup ] FYI: Stale metrics supplied Running: nhr.test6 Running: nhr.test6.ipv6 Running: nhr.test7 Running: nhr.test7.ipv6 Running: nhr.test8 Running: nhr.test8.ipv6 Running: nhr.test9 Running: nhr.test9.ipv6 PASS: isolation_tests Running: test1 Running: test2 PASS: test_peer_data ================== All 5 tests passed ================== gmake[2]: Leaving directory `/root/Desktop/xorp/bgp' gmake[1]: Leaving directory `/root/Desktop/xorp/bgp' Making check in tools gmake[1]: Entering directory `/root/Desktop/xorp/bgp/tools' gmake check-TESTS gmake[2]: Entering directory `/root/Desktop/xorp/bgp/tools' ================== All 0 tests passed ================== gmake[2]: Leaving directory `/root/Desktop/xorp/bgp/tools' gmake[1]: Leaving directory `/root/Desktop/xorp/bgp/tools' Making check in harness gmake[1]: Entering directory `/root/Desktop/xorp/bgp/harness' gmake coord test_peer test_trie test_peering1.sh test_peering2.sh test_routing1.sh test_routing2.sh test_rib1.sh test_rib_fea1.sh test_path_attribute1.sh test_path_attribute2.sh test_path_attribute3.sh test_route_reflection1.sh test_route_reflection2.sh test_route_flap_damping1.sh test_terminate.sh gmake[2]: Entering directory `/root/Desktop/xorp/bgp/harness' g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT bgppp.o -MD -MP -MF .deps/bgppp.Tpo -c -o bgppp.o bgppp.cc mv -f .deps/bgppp.Tpo .deps/bgppp.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.cc mv -f .deps/command.Tpo .deps/command.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT coord.o -MD -MP -MF .deps/coord.Tpo -c -o coord.o coord.cc mv -f .deps/coord.Tpo .deps/coord.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT peer.o -MD -MP -MF .deps/peer.Tpo -c -o peer.o peer.cc mv -f .deps/peer.Tpo .deps/peer.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT trie.o -MD -MP -MF .deps/trie.Tpo -c -o trie.o trie.cc mv -f .deps/trie.Tpo .deps/trie.Po /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o coord bgppp.o command.o coord.o peer.o trie.o ../../bgp/libbgp.la ../../libxipc/libxipc.la ../../libcomm/libcomm.la ../../libxorp/libxorp.la ../../xrl/targets/libtestpeerbase.la ../../xrl/targets/libcoordbase.la ../../xrl/interfaces/libtestpeerxif.la ../../xrl/interfaces/libdatainxif.la -lpcap -lcrypto -lrt mkdir .libs g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o coord bgppp.o command.o coord.o peer.o trie.o ../../bgp/.libs/libbgp.a ../../libxipc/.libs/libxipc.a ../../libcomm/.libs/libcomm.a ../../libxorp/.libs/libxorp.a ../../xrl/targets/.libs/libtestpeerbase.a ../../xrl/targets/.libs/libcoordbase.a ../../xrl/interfaces/.libs/libtestpeerxif.a ../../xrl/interfaces/.libs/libdatainxif.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_peer.o -MD -MP -MF .deps/test_peer.Tpo -c -o test_peer.o test_peer.cc mv -f .deps/test_peer.Tpo .deps/test_peer.Po /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_peer bgppp.o test_peer.o ../../bgp/libbgp.la ../../libxipc/libxipc.la ../../libcomm/libcomm.la ../../libxorp/libxorp.la ../../xrl/targets/libtestpeerbase.la ../../xrl/targets/libcoordbase.la ../../xrl/interfaces/libtestpeerxif.la ../../xrl/interfaces/libdatainxif.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_peer bgppp.o test_peer.o ../../bgp/.libs/libbgp.a ../../libxipc/.libs/libxipc.a ../../libcomm/.libs/libcomm.a ../../libxorp/.libs/libxorp.a ../../xrl/targets/.libs/libtestpeerbase.a ../../xrl/targets/.libs/libcoordbase.a ../../xrl/interfaces/.libs/libtestpeerxif.a ../../xrl/interfaces/.libs/libdatainxif.a -lpcap -lcrypto -lrt g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT test_trie.o -MD -MP -MF .deps/test_trie.Tpo -c -o test_trie.o test_trie.cc mv -f .deps/test_trie.Tpo .deps/test_trie.Po /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_trie test_trie.o trie.o ../../bgp/libbgp.la ../../libxipc/libxipc.la ../../libcomm/libcomm.la ../../libxorp/libxorp.la ../../xrl/targets/libtestpeerbase.la ../../xrl/targets/libcoordbase.la ../../xrl/interfaces/libtestpeerxif.la ../../xrl/interfaces/libdatainxif.la -lpcap -lcrypto -lrt g++ -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -o test_trie test_trie.o trie.o ../../bgp/.libs/libbgp.a ../../libxipc/.libs/libxipc.a ../../libcomm/.libs/libcomm.a ../../libxorp/.libs/libxorp.a ../../xrl/targets/.libs/libtestpeerbase.a ../../xrl/targets/.libs/libcoordbase.a ../../xrl/interfaces/.libs/libtestpeerxif.a ../../xrl/interfaces/.libs/libdatainxif.a -lpcap -lcrypto -lrt gmake[2]: Nothing to be done for `test_peering1.sh'. gmake[2]: Nothing to be done for `test_peering2.sh'. gmake[2]: Nothing to be done for `test_routing1.sh'. gmake[2]: Nothing to be done for `test_routing2.sh'. gmake[2]: Nothing to be done for `test_rib1.sh'. gmake[2]: Nothing to be done for `test_rib_fea1.sh'. gmake[2]: Nothing to be done for `test_path_attribute1.sh'. gmake[2]: Nothing to be done for `test_path_attribute2.sh'. gmake[2]: Nothing to be done for `test_path_attribute3.sh'. gmake[2]: Nothing to be done for `test_route_reflection1.sh'. gmake[2]: Nothing to be done for `test_route_reflection2.sh'. gmake[2]: Nothing to be done for `test_route_flap_damping1.sh'. gmake[2]: Nothing to be done for `test_terminate.sh'. gmake[2]: Leaving directory `/root/Desktop/xorp/bgp/harness' gmake check-TESTS gmake[2]: Entering directory `/root/Desktop/xorp/bgp/harness' Entering ./test_peering1.sh -l -t test1 [ 2008/11/18 14:44:50 WARNING xorp_finder XrlFinderTarget ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not enabled. [ 2008/11/18 14:44:50 ERROR call_xrl:8755 XRL +57 call_xrl.cc response_handler ] Failed. Reason: 201 Resolve failed ("finder://fea/common/0.1/get_target_name") [ 2008/11/18 14:45:11 WARNING xorp_finder XrlFinderTarget ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "rib" does not exist or is not enabled. [ 2008/11/18 14:45:11 ERROR call_xrl:8759 XRL +57 call_xrl.cc response_handler ] Failed. Reason: 201 Resolve failed ("finder://rib/common/0.1/get_target_name") [ 2008/11/18 14:45:32 WARNING xorp_finder XrlFinderTarget ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "bgp" does not exist or is not enabled. [ 2008/11/18 14:45:32 ERROR call_xrl:8761 XRL +57 call_xrl.cc response_handler ] Failed. Reason: 201 Resolve failed ("finder://bgp/common/0.1/get_target_name") local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 - Establish a peering with a holdtime of 30 wait for expiration Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 1 safi 1 Coord peer1 expect packet keepalive Coord peer1 expect packet keepalive Coord peer1 expect packet keepalive Coord peer1 expect packet keepalive Coord peer1 expect packet notify 4 Coord peer1 establish AS 65008 holdtime 30 id 192.150.187.100 keepalive false Operation in coordinator still pending try number: 1 [ 2008/11/18 14:46:25 INFO xorp_bgp BGP ] Sending: Notification Packet: Hold Timer Expired(4) [ 2008/11/18 14:46:25 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test1 Entering ./test_peering1.sh -l -t test2 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - Make a connection and send an update packet before establishing a session Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 connect Coord peer1 expect packet notify 5 Coord peer1 send packet update [ 2008/11/18 14:46:40 WARNING xorp_bgp:8835 BGP +1095 peer.cc event_recvupdate ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} FSM received EVENTRECUPDATEMESS in state OPENSENT(4) [ 2008/11/18 14:46:40 INFO xorp_bgp BGP ] Sending: Notification Packet: Finite State Machine Error(5) [ 2008/11/18 14:46:40 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test2 Entering ./test_peering1.sh -l -t test3 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Try and send an illegal hold time of 1 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 1 safi 1 Coord peer1 expect packet notify 2 6 Coord peer1 establish AS 65008 holdtime 1 id 192.150.187.100 keepalive false [ 2008/11/18 14:46:50 WARNING xorp_bgp:8894 BGP +1006 peer.cc event_openmess ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} Illegal holdtime value 1 secs [ 2008/11/18 14:46:50 INFO xorp_bgp BGP ] Sending: Notification Packet: OPEN Message Error(2): Unacceptable Hold Time(6) Operation in coordinator still pending try number: 1 [ 2008/11/18 14:46:50 WARNING test_peer:8896 BGP +529 test_peer.cc send ] Not connected [ 2008/11/18 14:46:50 WARNING test_peer:8896 XrlTestPeerTarget +356 test_peer_base.cc handle_test_peer_0_1_send ] Handling method for test_peer/0.1/send failed: XrlCmdError 102 Command failed Not connected [ 2008/11/18 14:46:50 WARNING coord BGP ] callback: keepalive 102 Command failed Not connected [ 2008/11/18 14:46:50 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test3 Entering ./test_peering1.sh -l -t test4 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST4 - Send an update packet and don't get it back Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet update origin 2 aspath 1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 localpref 100 Coord peer1 send packet update origin 2 aspath 1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 localpref 100 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test4 Entering ./test_peering1.sh -l -t test5 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5 - Passively wait for a connection. Coord reset Coord target 127.0.0.1 20001 Coord initialise attach peer1 Coord peer1 establish active false AS 65008 holdtime 30 id 192.150.187.100 disable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 enable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test5 Entering ./test_peering1.sh -l -t test6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST6 - Send an update packet without an origin Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 3 1 Coord peer1 send packet update aspath 1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 [ 2008/11/18 14:47:25 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Missing Well-known Attribute(3) - Type 1 [0x1] [ 2008/11/18 14:47:25 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test6 Entering ./test_peering1.sh -l -t test7 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST7 - Send an update packet without an aspath Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 3 2 Coord peer1 send packet update origin 1 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 [ 2008/11/18 14:47:36 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Missing Well-known Attribute(3) - Type 2 [0x2] [ 2008/11/18 14:47:36 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test7 Entering ./test_peering1.sh -l -t test8 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST8 - Send an update packet without a nexthop Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 3 3 Coord peer1 send packet update origin 1 aspath 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 [ 2008/11/18 14:48:50 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Missing Well-known Attribute(3) - Type 3 [0x3] [ 2008/11/18 14:48:50 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test8 Entering ./test_peering1.sh -l -t test8_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST8 IPv6 1) Establish an EBGP IPv6 peering 2) Send a multiprotocol nlri with no nexthop Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 3 3 Coord peer1 send packet update origin 1 aspath 65000 nlri6 2000::/3 [ 2008/11/18 14:49:00 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Missing Well-known Attribute(3) - Type 3 [0x3] [ 2008/11/18 14:49:00 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test8_ipv6 Entering ./test_peering1.sh -l -t test9 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST9: 1) Send an update packet as an IBGP peer with no local pref 2) This is not an error. Our BGP emits a warning Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 5 Coord peer1 send packet update origin 1 aspath 1 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test9 Entering ./test_peering1.sh -l -t test10 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST10: 1) Send an update packet as an EBGP peer with local pref 2) This is not an error. Our BGP emits a warning Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 localpref 100 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test10 Entering ./test_peering1.sh -l -t test11 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST11: 1) Send an update packet with two NLRIs 2) Then send an update packet to withdraw both NLRIs Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update withdraw 10.10.10.0/24 withdraw 20.20.20.20/24 Coord peer1 assert queue 2 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test11 Entering ./test_peering1.sh -l -t test12 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST12 - Send an update packet on an IBGP peer twice Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 1 localpref 2 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 1 aspath 1 localpref 2 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test12 Entering ./test_peering1.sh -l -t test12_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST12 IPV6 - Send an update packet on an IBGP peer twice Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 65000 localpref 2 nexthop6 20:20:20:20:20:20:20:20 nlri6 1000::/3 nlri6 2000::/3 Coord peer1 send packet update origin 1 aspath 65000 localpref 2 nexthop6 20:20:20:20:20:20:20:20 nlri6 1000::/3 nlri6 2000::/3 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test12_ipv6 Entering ./test_peering1.sh -l -t test13 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST13: 1) Send an update packet on an IBGP peer with no local pref twice 2) This is not an error. Our BGP emits a warnings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 1 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 1 aspath 1 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test13 Entering ./test_peering1.sh -l -t test14 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST14 - Send an update packet on an EBGP peer twice Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 expect packet notify 3 3 Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert queue 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test14 Entering ./test_peering1.sh -l -t test15 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST15 - Establish a connection drop the peering and establish again Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test15 Entering ./test_peering1.sh -l -t test16 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST16 - Send two update packets on an EBGP peer with local pref set Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 localpref 100 nlri 10.10.10.0/16 Coord peer1 send packet update origin 1 aspath 65000,2 nexthop 20.20.20.20 localpref 100 nlri 30.30.30.0/24 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test16 Entering ./test_peering1.sh -l -t test17 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST17 - Send an update packet with a repeated NLRI. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 30.30.30.0/24 nlri 30.30.30.0/24 [ 2008/11/18 14:52:57 WARNING coord BGP ] Received duplicate nlri or withdraw 30.30.30.0/24 in update message [ 2008/11/18 14:52:57 WARNING xorp_bgp:9976 BGP +147 update_attrib.cc decode ] Received duplicate nlri or withdraw 30.30.30.0/24 in update message Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test17 Entering ./test_peering1.sh -l -t test18 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST18 - Send two update packets on an EBGP peer. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/16 Coord peer1 send packet update origin 1 aspath 65000,2 nexthop 20.20.20.20 nlri 30.30.30.0/24 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test18 Entering ./test_peering1.sh -l -t test19 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST19 - EBGP peer update packet then different withdraw Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer1 send packet update withdraw 30.30.30.0/24 [ 2008/11/18 14:53:21 WARNING coord BGP ] Could not delete 30.30.30.0/24 [ 2008/11/18 14:53:21 WARNING xorp_bgp:10124 BGP +1150 plumbing.cc delete_route ] Attempt to delete non existent route 30.30.30.0/24 [ 2008/11/18 14:53:21 WARNING xorp_bgp:10124 BGP +1168 plumbing.cc push ] push when none needed Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test19 Entering ./test_peering1.sh -l -t test20 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST20 - EBGP peer single withdraw Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer1 send packet update withdraw 30.30.30.0/24 [ 2008/11/18 14:53:36 WARNING coord BGP ] Could not delete 30.30.30.0/24 [ 2008/11/18 14:53:36 WARNING xorp_bgp:10199 BGP +1150 plumbing.cc delete_route ] Attempt to delete non existent route 30.30.30.0/24 [ 2008/11/18 14:53:36 WARNING xorp_bgp:10199 BGP +1168 plumbing.cc push ] push when none needed Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test20 Entering ./test_peering1.sh -l -t test20_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST20 IPV6 - EBGP peer single withdraw Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 assert established Coord peer1 send packet update withdraw6 2000::/3 [ 2008/11/18 14:53:51 WARNING coord BGP ] Could not delete 2000::/3 [ 2008/11/18 14:53:51 WARNING xorp_bgp:10274 BGP +1150 plumbing.cc delete_route ] Attempt to delete non existent route 2000::/3 [ 2008/11/18 14:53:51 WARNING xorp_bgp:10274 BGP +1168 plumbing.cc push ] push when none needed Coord peer1 assert established Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test20_ipv6 Entering ./test_peering1.sh -l -t test21 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST21 - EBGP peer update packet then corresponding withdraw Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/16 Coord peer1 send packet update withdraw 10.10.10.0/16 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test21 Entering ./test_peering1.sh -l -t test22 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST22 - EBGP Establish an IPV6 peering Coord reset Coord target 127.0.0.1 10003 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test22 Entering ./test_peering1.sh -l -t test23 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST23 1) Establish an IBGP IPV6 peering 2) Send an IPv6 only update packet Coord reset Coord target 127.0.0.1 10003 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 send packet update origin 1 aspath 1,2,[3,4,5],6,[7,8],9 nexthop6 20:20:20:20:20:20:20:20 nlri6 2000::/3 localpref 100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test23 Entering ./test_peering1.sh -l -t test24 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST24 1) Establish an EBGP IPV6 peering 2) Send an IPv6 only update packet Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 send packet update origin 1 aspath 65000 nexthop6 20:20:20:20:20:20:20:20 nlri6 2000::/3 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test24 Entering ./test_peering1.sh -l -t test25 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST25 1) Establish an EBGP IPV6 peering 2) Send an IPv4 and IPv6 update packet Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nlri 10.10.10.0/24 nexthop6 20:20:20:20:20:20:20:20 nlri6 2000::/3 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test25 Entering ./test_peering1.sh -l -t test26 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST26 1) Establish an EBGP IPV6 peering 2) Send an IPv4 and IPv6 update packet repeat both nexthops Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 expect packet notify 3 1 Coord peer1 send packet update origin 1 aspath 65000 nexthop 20.20.20.20 nexthop 20.20.20.20 nlri 10.10.10.0/24 nexthop6 20:20:20:20:20:20:20:20 nexthop6 20:20:20:20:20:20:20:20 nlri6 2000::/3 [ 2008/11/18 14:55:58 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Malformed Attribute List(1) [ 2008/11/18 14:55:58 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded [ 2008/11/18 14:56:00 ERROR xorp_finder:10643 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test26 Entering ./test_peering1.sh -l -t test27 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST27 - Verify that routes originated by BGP reach an IBGP peer Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 originate_route4 10.10.10.0/24 20.20.20.20 true false Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 trie recv lookup 10.10.10.0/24 aspath empty Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test27 Entering ./test_peering1.sh -l -t test27_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST27 (IPV6) - Verify that routes originated by BGP reach an IBGP peer Coord reset Coord target 127.0.0.1 10003 Coord initialise attach peer1 originate_route6 2000::/3 20:20:20:20:20:20:20:20 true false Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 trie recv lookup 2000::/3 aspath empty Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test27_ipv6 Entering ./test_peering1.sh -l -t test28 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST28 - Verify that routes originated by BGP reach an EBGP peer Also verify that the nexthop is rewritten and the provided nexthop is ignored Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 1 safi 1 Coord peer1 expect packet keepalive Coord peer1 expect packet update origin 0 nexthop 192.150.187.78 aspath 65008 med 1 nlri 10.10.10.0/24 originate_route4 10.10.10.0/24 20.20.20.20 true false Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 trie recv lookup 10.10.10.0/24 aspath 65008 Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test28 Entering ./test_peering1.sh -l -t test28_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST28 (IPV6) - Verify that routes originated by BGP reach an EBGP peer Also verify that the nexthop is rewritten and the provided nexthop is ignored Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 2 safi 1 Coord peer1 expect packet keepalive Coord peer1 expect packet update origin 0 aspath 65008 med 1 nlri6 2000::/3 nexthop6 :: originate_route6 2000::/3 20:20:20:20:20:20:20:20 true false Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 ipv6 true Coord peer1 trie recv lookup 2000::/3 aspath 65008 Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test28_ipv6 Entering ./test_peering1.sh -l -t test29 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST29 1) Make a connection 2) Send a notify packet before establishing a session 3) Verify that we do not get a notify packet in response 4) Verify that the TCP session has been torn down Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 connect Coord peer1 assert connected Coord peer1 expect packet notify 5 Coord peer1 send packet notify 3 1 [ 2008/11/18 14:57:57 INFO xorp_bgp BGP ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} in state OPENSENT(4) received Notification Packet: UPDATE Message Error(3): Malformed Attribute List(1) [ 2008/11/18 14:57:57 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 1 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test29 Entering ./test_peering1.sh -l -t test30 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST30 - Bugzilla BUG #32 1) The test peer performs a bind but no listen 2) A BGP connection attempt will leave it in connect state 3) Toggle the peering to ensure BGP can get out of this state Coord reset Bind 127.0.0.1 20001 disable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 enable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 disable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 enable_peer 127.0.0.1 10001 127.0.0.1 20001 65008 Reset Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish active true AS 65008 holdtime 30 id 192.150.187.100 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test30 Entering ./test_peering1.sh -l -t test31 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST31 - On an I-BGP peering send an update with an empty aspath Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer1 send packet update origin 1 aspath empty nexthop 20.20.20.20 nlri 10.10.10.0/24 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test31 Entering ./test_peering1.sh -l -t test32 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST32 - Bugzilla BUG #139 1) Originate a route on an I-BGP peering with an empty aspath. 2) Send the same route to the BGP process. 3) The comparison of two routes with empty aspath caused BGP BGP to fail Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 originate_route4 10.10.10.0/24 20.20.20.20 true false Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 trie recv lookup 10.10.10.0/24 aspath empty Coord peer1 send packet update origin 2 aspath empty nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 14:58:35 WARNING xorp_bgp:11162 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10001) 127.0.0.1(20001)} Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test32 Entering ./test_peering1.sh -l -t test33 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST33 - DampPeerOscillations 10 sessions 11th should fail Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 [ 2008/11/18 14:59:08 INFO xorp_bgp BGP ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} rejecting connection: current state IDLE(1) holdtimer running [ 2008/11/18 14:59:08 WARNING test_peer:11227 BGP +742 test_peer.cc receive ] read error: Connection reset by peer [ 2008/11/18 14:59:08 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test33 Entering ./test_peering1.sh -l -t test34 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST34 - Illicit a Message Header Error Connection Not Synchronized. 1) Establish a connection 2) Send a keepalive with a corrupted marker field 3) Should return a notify Connection Not Synchronized. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 1 Coord peer1 send packet corrupt 0 0 keepalive [ 2008/11/18 14:59:19 WARNING xorp_bgp:11437 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 244 of peer.cc Bad Marker [ 2008/11/18 14:59:19 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Connection Not Synchronized(1) [ 2008/11/18 14:59:19 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test34 Entering ./test_peering1.sh -l -t test35 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST35 - Illicit a Message Header Error Bad Message Length. 0 1) Establish a connection 2) Send a keepalive with a short message length 3) Should return a notify Bad Message Length.. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 2 0 0 Coord peer1 send packet corrupt 17 0 keepalive [ 2008/11/18 14:59:32 ERROR xorp_bgp:11499 BGP +295 socket.cc async_read_message ] Illegal length value 0 [ 2008/11/18 14:59:32 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Length(2) - field: 0 [0 0] [ 2008/11/18 14:59:32 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test35 Entering ./test_peering1.sh -l -t test36 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST36 - Illicit a Message Header Error Bad Message Length. 20 1) Establish a connection 2) Send a keepalive with a long message length 3) Should return a notify Bad Message Length. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 2 0 20 Coord peer1 send packet corrupt 17 20 keepalive Coord peer1 send packet keepalive [ 2008/11/18 15:00:45 WARNING xorp_bgp:11561 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 329 of packet.hh KeepAlivePacket length 20 instead of 19 [ 2008/11/18 15:00:45 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Length(2) - field: 20 [0 0x14] [ 2008/11/18 15:00:45 WARNING test_peer:11563 BGP +742 test_peer.cc receive ] read error: Connection reset by peer [ 2008/11/18 15:00:45 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test36 Entering ./test_peering1.sh -l -t test37 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST37 - Illicit a Message Header Error Bad Message Type. 1) Establish a connection 2) Send a message with the type set to 10 3) Should return a notify Bad Message Type with the 10 Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 3 10 Coord peer1 send packet corrupt 18 10 keepalive [ 2008/11/18 15:00:58 ERROR xorp_bgp:11635 BGP +316 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} Unknown packet type 10 [ 2008/11/18 15:00:58 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Type(3) - field : 10 [0xa] [ 2008/11/18 15:00:58 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test37 Entering ./test_peering1.sh -l -t test38 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST38 - Illicit a UPDATE Message Error Malformed AS_PATH. 1) Establish a connection 2) Send a malformed aspath 3) Should return a notify UPDATE Message Error. Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 3 11 Coord peer1 send packet corrupt 38 0 update origin 2 aspath [65000],[65000] nlri 10.10.10.0/24 nexthop 20.20.20.20 [ 2008/11/18 15:01:11 WARNING xorp_bgp:11707 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 517 of aspath.cc Bad ASpath (len) 466 > (l) 6 [ 2008/11/18 15:01:11 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Malformed AS_PATH(11) [ 2008/11/18 15:01:11 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test38 Entering ./test_peering1.sh -l -t test39 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST39 - Send a short open packet. 20 1) Send an open packet with a length field of 20 2) Should return a notify Bad Message Length. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 connect Coord peer1 expect packet notify 1 2 0 20 Coord peer1 send packet corrupt 17 20 open asnum 65008 bgpid 192.150.187.100 holdtime 0 [ 2008/11/18 15:01:25 WARNING xorp_bgp:11769 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} line 95 of open_packet.cc Open message too short [ 2008/11/18 15:01:25 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Length(2) - field: 20 [0 0x14] [ 2008/11/18 15:01:25 WARNING test_peer:11771 BGP +742 test_peer.cc receive ] read error: Connection reset by peer [ 2008/11/18 15:01:25 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test39 Entering ./test_peering1.sh -l -t test40 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST40 - Open message with illegal version number 1) Send an open message with a version number of 6 2) Should get a notify with unsupported version number 4 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 connect Coord peer1 expect packet notify 2 1 0 4 Coord peer1 send packet corrupt 19 6 open asnum 65008 bgpid 192.150.187.100 holdtime 0 [ 2008/11/18 15:01:38 WARNING xorp_bgp:11828 BGP +1006 peer.cc event_openmess ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} Unsupported BGPVERSION 6 [ 2008/11/18 15:01:38 INFO xorp_bgp BGP ] Sending: Notification Packet: OPEN Message Error(2): Unsupported Version Number(1) - Min supported Version is 4 [0 0x4] [ 2008/11/18 15:01:38 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test40 Entering ./test_peering1.sh -l -t test41 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST41 - Open message with an illegal BGP ID 1) Send an open message with a BGP ID of 0.0.0.0 2) Should get a notify with Bad BGP Identifier Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 connect Coord peer1 expect packet notify 2 3 Coord peer1 send packet open asnum 65008 bgpid 0.0.0.0 holdtime 0 [ 2008/11/18 15:01:51 WARNING xorp_bgp:11887 BGP +1006 peer.cc event_openmess ] Peer-{127.0.0.1(10001) 127.0.0.1(20001)} Not a valid unicast IP host address 0.0.0.0 [ 2008/11/18 15:01:51 INFO xorp_bgp BGP ] Sending: Notification Packet: OPEN Message Error(2): Bad BGP Identifier(3) [ 2008/11/18 15:01:51 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test41 Entering ./test_peering1.sh -l -t test42 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST42 - Send an update message that has a short length field. 1) Establish a connection 2) Send an update with a short length 22 3) Should return a notify Bad Message Length Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 2 0 22 Coord peer1 send packet corrupt 17 22 update origin 2 aspath [65000],[65000] nlri 10.10.10.0/24 nexthop 20.20.20.20 [ 2008/11/18 15:02:02 WARNING xorp_bgp:11946 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 186 of update_packet.cc Update Message too short 22 [ 2008/11/18 15:02:02 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Length(2) - field: 22 [0 0x16] [ 2008/11/18 15:02:02 WARNING test_peer:11948 BGP +742 test_peer.cc receive ] read error: Connection reset by peer [ 2008/11/18 15:02:02 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test42 Entering ./test_peering1.sh -l -t test43 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST43 - Send an notify message that has a short length field. 1) Establish a connection 2) Send a notify with a short length 20 3) Should return a notify Bad Message Length Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 1 2 0 20 Coord peer1 send packet corrupt 17 20 notify 6 [ 2008/11/18 15:02:15 WARNING xorp_bgp:12008 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 72 of notification_packet.cc Notification message too short 20 [ 2008/11/18 15:02:15 INFO xorp_bgp BGP ] Sending: Notification Packet: Message Header Error(1): Bad Message Length(2) - field: 20 [0 0x14] [ 2008/11/18 15:02:15 WARNING test_peer:12010 BGP +742 test_peer.cc receive ] read error: Connection reset by peer [ 2008/11/18 15:02:15 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test43 Entering ./test_peering1.sh -l -t test44 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST44 - Send an update message with an origin with bad flags. 1) Establish a connection 2) Send an update with an origin with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 3 4 0 1 1 1 Coord peer1 send packet update pathattr 0,1,1,1 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 15:02:28 WARNING coord BGP ] BAD Message: Bad Flags in Origin attribute 0 [ 2008/11/18 15:02:28 WARNING xorp_bgp:12070 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 100 of path_attribute.cc Bad Flags in Origin attribute 0 [ 2008/11/18 15:02:28 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x1 0x1 0x1] [ 2008/11/18 15:02:28 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test44 Entering ./test_peering1.sh -l -t test45 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST45 - Send an update message with an aspath with bad flags. 1) Establish a connection 2) Send an update with an aspath with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 3 4 0 2 4 2 1 253 232 Coord peer1 send packet update origin 2 pathattr 0,2,4,2,1,253,232 nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 15:02:41 WARNING coord BGP ] BAD Message: Bad Flags in AS Path attribute 0 [ 2008/11/18 15:02:41 WARNING xorp_bgp:12132 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 176 of path_attribute.cc Bad Flags in AS Path attribute 0 [ 2008/11/18 15:02:41 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x2 0x4 0x2 0x1 0xfd 0xe8] [ 2008/11/18 15:02:41 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test45 Entering ./test_peering1.sh -l -t test46 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST46 - Send an update message with a nexthop with bad flags. 1) Establish a connection 2) Send an update with a nexthop with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Coord peer1 expect packet notify 3 4 0 3 4 20 20 20 20 Coord peer1 send packet update origin 2 pathattr 0,3,4,20,20,20,20 nlri 10.10.10.0/24 [ 2008/11/18 15:02:53 WARNING coord BGP ] BAD Message: Bad Flags in NextHop attribute 0 [ 2008/11/18 15:02:53 WARNING xorp_bgp:12194 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 308 of path_attribute.cc Bad Flags in NextHop attribute 0 [ 2008/11/18 15:02:53 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x3 0x4 0x14 0x14 0x14 0x14] [ 2008/11/18 15:02:53 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test46 Entering ./test_peering1.sh -l -t test47 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST47 - Send an update message with a med with bad flags. 1) Establish a connection 2) Send an update with a med with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 4 0 4 4 20 20 20 20 Coord peer1 send packet update origin 2 aspath [65000],[65000] pathattr 0,4,4,20,20,20,20 nlri 10.10.10.0/24 [ 2008/11/18 15:03:07 WARNING coord BGP ] BAD Message: Bad Flags in MEDAttribute 0 [ 2008/11/18 15:03:07 WARNING xorp_bgp:12256 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 362 of path_attribute.cc Bad Flags in MEDAttribute 0 [ 2008/11/18 15:03:07 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x4 0x4 0x14 0x14 0x14 0x14] [ 2008/11/18 15:03:07 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test47 Entering ./test_peering1.sh -l -t test48 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST48 - Send an update message with a LOCAL_PREF with bad flags. 1) Establish a connection 2) Send an update with a LOCAL_PREF with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 4 0 5 4 20 20 20 20 Coord peer1 send packet update origin 2 aspath [65000],[65000] pathattr 0,5,4,20,20,20,20 nlri 10.10.10.0/24 [ 2008/11/18 15:03:21 WARNING coord BGP ] BAD Message: Bad Flags in LocalPrefAttribute 0 [ 2008/11/18 15:03:21 WARNING xorp_bgp:12321 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 414 of path_attribute.cc Bad Flags in LocalPrefAttribute 0 [ 2008/11/18 15:03:21 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x5 0x4 0x14 0x14 0x14 0x14] [ 2008/11/18 15:03:21 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test48 Entering ./test_peering1.sh -l -t test49 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST49 - An update message with an ATOMIC_AGGREGATE with bad flags. 1) Establish a connection 2) Send an update with a ATOMIC_AGGREGATE with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 4 0 6 0 Coord peer1 send packet update origin 2 aspath [65000],[65000] pathattr 0,6,0 nlri 10.10.10.0/24 [ 2008/11/18 15:03:34 WARNING coord BGP ] BAD Message: Bad Flags in AtomicAggregate attribute 0 [ 2008/11/18 15:03:34 WARNING xorp_bgp:12386 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 485 of path_attribute.cc Bad Flags in AtomicAggregate attribute 0 [ 2008/11/18 15:03:34 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x6 0] [ 2008/11/18 15:03:34 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test49 Entering ./test_peering1.sh -l -t test50 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST50 - An update message with an AGGREGATOR with bad flags. 1) Establish a connection 2) Send an update with a AGGREGATOR with bad flags 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 4 0 7 6 1 1 20 20 20 20 Coord peer1 send packet update origin 2 aspath [65000],[65000] pathattr 0,7,6,1,1,20,20,20,20 nlri 10.10.10.0/24 [ 2008/11/18 15:03:48 WARNING coord BGP ] BAD Message: Bad Flags in AtomicAggregate attribute 0 [ 2008/11/18 15:03:48 WARNING xorp_bgp:12451 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 523 of path_attribute.cc Bad Flags in AtomicAggregate attribute 0 [ 2008/11/18 15:03:48 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Attribute Flags Error(4) [0 0x7 0x6 0x1 0x1 0x14 0x14 0x14 0x14] [ 2008/11/18 15:03:48 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test50 Entering ./test_peering1.sh -l -t test51 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST51 - An update message with an origin with an illegal value. 1) Establish a connection 2) Send an update with an origin with an illegal value 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 6 64 1 1 5 Coord peer1 send packet update pathattr 64,1,1,5 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 15:04:01 WARNING coord BGP ] BAD Message: Unknown Origin Type 5 [ 2008/11/18 15:04:01 WARNING xorp_bgp:12516 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 115 of path_attribute.cc Unknown Origin Type 5 [ 2008/11/18 15:04:01 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Invalid ORIGIN Attribute(6) [0x40 0x1 0x1 0x5] [ 2008/11/18 15:04:01 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test51 Entering ./test_peering1.sh -l -t test52 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST52 - An update message with an invalid nexthop 1) Establish a connection 2) Send an update with a nexthop with an illegal value 3) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 8 64 3 4 255 255 255 255 Coord peer1 send packet update origin 2 pathattr 64,3,4,255,255,255,255 nlri 10.10.10.0/24 [ 2008/11/18 15:04:15 WARNING coord BGP ] BAD Message: NextHop 255.255.255.255 is not a unicast address [ 2008/11/18 15:04:15 WARNING xorp_bgp:12581 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 319 of path_attribute.cc NextHop 255.255.255.255 is not a unicast address [ 2008/11/18 15:04:15 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Invalid NEXT_HOP Attribute(8) [0x40 0x3 0x4 0xff 0xff 0xff 0xff] [ 2008/11/18 15:04:15 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test52 Entering ./test_peering1.sh -l -t test53 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST53 - A NLRI that is syntactically incorrect 1) Establish a connection 2) Should return an UPDATE Message Error Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 10 Coord peer1 send packet corrupt 45 54 update origin 2 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 15:04:28 WARNING xorp_bgp:12646 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 88 of update_attrib.cc inconsistent length 54 [ 2008/11/18 15:04:28 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Invalid Network Field(10) [ 2008/11/18 15:04:28 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test53 Entering ./test_peering1.sh -l -t test54 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST54 - A mandatory unknown path attribute. 1) Establish a connection 2) Should get an Unrecognized Well-known Attribute Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 2 0 255 1 0 Coord peer1 send packet update origin 2 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 pathattr 0,255,1,0 [ 2008/11/18 15:04:42 WARNING coord BGP ] BAD Message: Bad Flags in Unknown attribute [ 2008/11/18 15:04:42 WARNING xorp_bgp:12711 BGP +329 peer.cc get_message ] Peer-{127.0.0.1(10002) 127.0.0.1(20002)} line 1615 of path_attribute.cc Bad Flags in Unknown attribute [ 2008/11/18 15:04:42 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Unrecognized Well-known Attribute(2) - [0 0xff 0x1 0] [ 2008/11/18 15:04:42 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test54 Entering ./test_peering1.sh -l -t test55 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST55 - Send an AS_PATH with confederation segments. 1) Establish a connection 2) Should get a Malformed AS_PATH Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 11 Coord peer1 send packet update origin 2 aspath [65000],(65000) nexthop 20.20.20.20 nlri 10.10.10.0/24 [ 2008/11/18 15:04:56 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Malformed AS_PATH(11) [ 2008/11/18 15:04:56 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test55 Entering ./test_peering1.sh -l -t test56 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST56 - Routes originated by BGP sent to an I-BGP peer: 1) Should have a local pref added. 2) Should have an empty aspath. 3) Should honour the next hop? Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 1 safi 1 Coord peer1 expect packet keepalive Coord peer1 expect packet update origin 0 nexthop 20.20.20.20 aspath empty localpref 100 nlri 10.10.10.0/24 originate_route4 10.10.10.0/24 20.20.20.20 true false Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 trie recv lookup 10.10.10.0/24 aspath empty Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test56 Entering ./test_peering1.sh -l -t test56_ipv6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST56 (IPv6) - Routes originated by BGP sent to an I-BGP peer: 1) Should have a local pref added. 2) Should have an empty aspath. 3) Should honour the next hop? Coord reset Coord target 127.0.0.1 10003 Coord initialise attach peer1 Coord peer1 expect packet open asnum 65008 bgpid 192.150.187.78 holdtime 30 afi 2 safi 1 Coord peer1 expect packet keepalive Coord peer1 expect packet update origin 0 nexthop6 20:20:20:20:20:20:20:20 aspath empty localpref 100 nlri6 2000::/3 originate_route6 2000::/3 20:20:20:20:20:20:20:20 true false Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 trie recv lookup 2000::/3 aspath empty Coord peer1 assert queue 0 Coord peer1 assert established ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test56_ipv6 Entering ./test_peering1.sh -l -t test57 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST57 - Send an ORIGINATOR_ID on an E-BGP peering. 1) Establish a connection 2) Should get a Malformed AS_PATH Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 1 Coord peer1 send packet update origin 2 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 originatorid 1.2.3.4 [ 2008/11/18 15:05:32 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Malformed Attribute List(1) [ 2008/11/18 15:05:32 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test57 Entering ./test_peering1.sh -l -t test58 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 30 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 30 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 30 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65000 192.150.187.78 30 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST58 - Send CLUSTER_LIST on an E-BGP peering. 1) Establish a connection 2) Should get a Malformed AS_PATH Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65000 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 expect packet notify 3 1 Coord peer1 send packet update origin 2 aspath [65000],[65000] nexthop 20.20.20.20 nlri 10.10.10.0/24 clusterlist 1.2.3.4 [ 2008/11/18 15:05:46 INFO xorp_bgp BGP ] Sending: Notification Packet: UPDATE Message Error(3): Malformed Attribute List(1) [ 2008/11/18 15:05:46 WARNING coord BGP ] TCP connection from test_peer: peer1 to 127.0.0.1 closed Coord peer1 assert queue 0 Coord peer1 assert idle ./test_peering1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering1.sh -l -t test58 PASS: test_peering1.sh Entering ./test_peering2.sh -l -t test1 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test1 Entering ./test_peering2.sh -l -t test2 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test2 Entering ./test_peering2.sh -l -t test3 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test3 Entering ./test_peering2.sh -l -t test4 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test4 Entering ./test_peering2.sh -l -t test5 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test5 Entering ./test_peering2.sh -l -t test6 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test6 Entering ./test_peering2.sh -l -t test7 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test7 Entering ./test_peering2.sh -l -t test8 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test8 Entering ./test_peering2.sh -l -t test9 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test9 Entering ./test_peering2.sh -l -t test10 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test10 Entering ./test_peering2.sh -l -t test11 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test11 Entering ./test_peering2.sh -l -t test12 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test12 Entering ./test_peering2.sh -l -t test13 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test13 Entering ./test_peering2.sh -l -t test14 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test14 Entering ./test_peering2.sh -l -t test15 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test15 Entering ./test_peering2.sh -l -t test16 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test16 Entering ./test_peering2.sh -l -t test17 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65000 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 5 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65000 192.150.187.78 5 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65003 192.150.187.78 5 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Traffic file ./../../../data/bgp/icsi1.mrtd missing. ./test_peering2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_peering2.sh -l -t test17 PASS: test_peering2.sh Entering ./test_routing1.sh -l -t test1 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 - Establish three peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 40 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 40 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test1 Entering ./test_routing1.sh -l -t test1_ipv6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 IPV6 - Establish three peerings Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 40 id 10.10.10.1 keepalive false ipv6 true Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 40 id 10.10.10.2 keepalive false ipv6 true Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false ipv6 true Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test1_ipv6 Entering ./test_routing1.sh -l -t test2 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - Adding and deleting routes Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 40 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 40 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001,2,[3,4,5],6,[7,8],9 nexthop 172.16.1.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,2,[3,4,5],6,[7,8],9 Coord peer2 send packet update origin 2 aspath 64002 nexthop 172.16.2.2 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer1 trie recv lookup 10.10.10.0/24 aspath 65008,64002 Coord peer2 trie sent lookup 10.10.10.0/24 aspath 64002 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64002 Coord peer2 send packet update origin 2 aspath 64002 nexthop 172.16.2.2 withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,2,[3,4,5],6,[7,8],9 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test2 Entering ./test_routing1.sh -l -t test2_ipv6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST2 IPV6 - Adding and deleting routes Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 40 id 10.10.10.1 keepalive false ipv6 true Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 40 id 10.10.10.2 keepalive false ipv6 true Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false ipv6 true Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64004,2,[3,4,5],6,[7,8],9 nexthop6 40:40:40:40:40:40:40:42 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 trie sent lookup 10:10:10:10:10:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64004,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer1 trie sent lookup 20:20:20:20:20:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64004,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer2 send packet update origin 2 aspath 64005 nexthop6 50:50:50:50:50:50:50:52 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64005 Coord peer2 trie sent lookup 10:10:10:10:10:00:00:00/80 aspath 64005 Coord peer3 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 64005 Coord peer1 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64005 Coord peer2 trie sent lookup 20:20:20:20:20:00:00:00/80 aspath 64005 Coord peer3 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 64005 Coord peer2 send packet update origin 2 aspath 64005 nexthop6 50:50:50:50:50:50:50:52 withdraw6 10:10:10:10:10:00:00:00/80 withdraw6 20:20:20:20:20:00:00:00/80 Coord peer1 trie sent lookup 10:10:10:10:10:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64004,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer1 trie sent lookup 20:20:20:20:20:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64004,2,[3,4,5],6,[7,8],9 Coord peer3 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 64004,2,[3,4,5],6,[7,8],9 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test2_ipv6 Entering ./test_routing1.sh -l -t test3 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Add routes on the same peer. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 40 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 40 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001,1,2 nexthop 172.16.2.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001,1,2 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001,1,2 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,1,2 Coord peer2 send packet update origin 2 aspath 64002,1,2,3 nexthop 172.16.3.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 trie sent lookup 10.10.10.0/24 aspath 64002,1,2,3 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,1,2 Coord peer2 send packet update origin 2 aspath 64002,1 nexthop 172.16.1.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie recv lookup 10.10.10.0/24 aspath 65008,64002,1 Coord peer2 trie sent lookup 10.10.10.0/24 aspath 64002,1 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64002,1 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test3 Entering ./test_routing1.sh -l -t test4 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST4 - Add a route on one peer add a better route on another peer. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 40 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 40 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001,2,3,4,5 nexthop 172.16.2.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001,2,3,4,5 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001,2,3,4,5 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,2,3,4,5 Coord peer2 send packet update origin 2 aspath 64002 nexthop 172.16.1.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie recv lookup 10.10.10.0/24 aspath 65008,64002 Coord peer2 trie sent lookup 10.10.10.0/24 aspath 64002 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64002 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test4 Entering ./test_routing1.sh -l -t test5 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5 - Add a route on one peer then add a better route Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 40 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 40 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 40 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001,1,2,3,4,5 nexthop 172.16.2.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001,1,2,3,4,5 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001,1,2,3,4,5 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001,1,2,3,4,5 Coord peer1 send packet update origin 2 aspath 64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test5 Entering ./test_routing1.sh -l -t test6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST6 On an EBGP peering send an update with a local preference Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 med 50 Coord peer2 expect packet update origin 2 aspath 65008,64001 nexthop 192.150.187.78 nlri 10.10.10.0/24 med 0 Coord peer3 expect packet update origin 2 aspath 64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 localpref 100 Coord peer1 send packet update origin 2 aspath 64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 med 50 localpref 17 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 64001 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test6 Entering ./test_routing1.sh -l -t test7 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST7 On an I-BGP peering send an update with an empty aspath Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer3 send packet update origin 1 aspath empty nexthop 172.16.1.2 nlri 10.10.10.0/24 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test7 Entering ./test_routing1.sh -l -t test8 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 40 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 40 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 40 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 40 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 40 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 40 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST8: 1) Send the same route from all peers 2) The route from peer1 is the winner 3) Now introduce a worse route from peer1 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer3 send packet update origin 1 aspath empty nexthop 172.16.3.2 nlri 10.10.10.0/24 Coord peer1 send packet update origin 1 aspath 64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 [ 2008/11/18 15:15:34 WARNING xorp_bgp:15102 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10003) 127.0.0.1(20003)} Coord peer2 send packet update origin 1 aspath 64002 nexthop 172.16.3.2 nlri 10.10.10.0/24 [ 2008/11/18 15:15:34 WARNING xorp_bgp:15102 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10003) 127.0.0.1(20003)} Coord peer1 send packet update origin 1 aspath 64001,64001 nexthop 172.16.1.2 nlri 10.10.10.0/24 [ 2008/11/18 15:15:34 WARNING xorp_bgp:15102 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10003) 127.0.0.1(20003)} Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing1.sh -l -t test8 PASS: test_routing1.sh Entering ./test_routing2.sh -l -t test1 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 - Establish three peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test1 Entering ./test_routing2.sh -l -t test1_ipv6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 IPV6 - Establish three peerings Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 20 id 10.10.10.1 keepalive false ipv6 true Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 20 id 10.10.10.2 keepalive false ipv6 true Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false ipv6 true Operation in coordinator still pending try number: 1 Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test1_ipv6 Entering ./test_routing2.sh -l -t test2 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - This test used to cause the RIB to core dump Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseadd_route4 is-is true false 162.16.1.2/24 172.16.1.2 10add_route4 is-is true false 162.16.2.2/24 172.16.2.2 30add_route4 is-is true false 162.16.3.2/24 172.16.3.2 20Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 delete_route4 is-is true false 162.16.1.2/24delete_route4 is-is true false 162.16.2.2/24delete_route4 is-is true false 162.16.3.2/24delete_igp_table4 is-is isis isis true false./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test2 Entering ./test_routing2.sh -l -t test3 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Test for deterministic MEDs Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseadd_route4 is-is true false 162.16.1.2/24 172.16.1.2 10add_route4 is-is true false 162.16.2.2/24 172.16.2.2 30add_route4 is-is true false 162.16.3.2/24 172.16.3.2 20Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 delete_route4 is-is true false 162.16.1.2/24delete_route4 is-is true false 162.16.2.2/24delete_route4 is-is true false 162.16.3.2/24delete_igp_table4 is-is isis isis true false./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test3 Entering ./test_routing2.sh -l -t test4 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST4 - Test for deterministic MEDs same as test3 except for the order of route arrival R1,R3,R2 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseadd_route4 is-is true false 162.16.1.2/24 172.16.1.2 10add_route4 is-is true false 162.16.2.2/24 172.16.2.2 30add_route4 is-is true false 162.16.3.2/24 172.16.3.2 20Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 delete_route4 is-is true false 162.16.1.2/24delete_route4 is-is true false 162.16.2.2/24delete_route4 is-is true false 162.16.3.2/24delete_igp_table4 is-is isis isis true false./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test4 Entering ./test_routing2.sh -l -t test5 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5 - Test for deterministic MEDs same as test3 but test all arrival permutations Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseadd_route4 is-is true false 162.16.1.2/24 172.16.1.2 10add_route4 is-is true false 162.16.2.2/24 172.16.2.2 30add_route4 is-is true false 162.16.3.2/24 172.16.3.2 20Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update origin 2 aspath 4,5,6 med 20 nexthop 162.16.3.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer2 send packet update origin 2 aspath 1,2,3 med 5 nexthop 162.16.2.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1,2,3 med 10 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 nlri 20.20.20.20/24 lookup_route_by_dest4 10.10.10.10 true falsenexthop:ipv4=172.16.3.2 Coord peer1 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer2 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 Coord peer3 send packet update withdraw 10.10.10.10/24 withdraw 20.20.20.20/24 delete_route4 is-is true false 162.16.1.2/24delete_route4 is-is true false 162.16.2.2/24delete_route4 is-is true false 162.16.3.2/24delete_igp_table4 is-is isis isis true false./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test5 Entering ./test_routing2.sh -l -t test6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST6 - Verify that it is possible add and remove tables in the RIB add_igp_table4 is-is isis isis true falsedelete_igp_table4 is-is isis isis true falseadd_igp_table4 is-is isis isis true falsedelete_igp_table4 is-is isis isis true false./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test6 Entering ./test_routing2.sh -l -t test7 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST7 - Next hop resolvability on multiple peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseCoord peer1 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 1 nlri 10.10.10.10/24 Coord peer2 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 2 nlri 10.10.10.10/24 Coord peer3 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 3 nlri 10.10.10.10/24 add_route4 is-is true false 162.16.1.2/24 172.16.1.2 10Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test7 Entering ./test_routing2.sh -l -t test8 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST8 - Next hop resolvability on multiple peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established add_igp_table4 is-is isis isis true falseCoord peer1 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 Coord peer2 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 Coord peer3 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 nlri 10.10.10.10/24 add_route4 is-is true false 162.16.1.2/24 172.16.1.2 10delete_route4 is-is true false 162.16.1.2/24Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test8 Entering ./test_routing2.sh -l -t test9 [ 2008/11/18 15:21:00 ERROR xorp_finder:16420 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST9 - Next hop resolvability on multiple peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Coord peer3 assert established add_igp_table4 is-is isis isis true falseCoord peer1 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 3 nlri 10.10.10.10/24 Coord peer2 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 2 nlri 10.10.10.10/24 Coord peer3 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 1 nlri 10.10.10.10/24 add_route4 is-is true false 162.16.1.2/24 172.16.1.2 10Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test9 Entering ./test_routing2.sh -l -t test10 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST10 - Next hop resolvability on multiple peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 20 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 20 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 20 id 10.10.10.3 keepalive false Coord peer3 assert established add_igp_table4 is-is isis isis true falseadd_route4 is-is true false 162.16.1.2/24 172.16.1.2 10Coord peer1 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 3 nlri 10.10.10.10/24 Coord peer2 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 2 nlri 10.10.10.10/24 Coord peer3 send packet update origin 2 aspath 1,2,3 nexthop 162.16.1.2 localpref 100 med 1 nlri 10.10.10.10/24 delete_route4 is-is true false 162.16.1.2/24Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test10 Entering ./test_routing2.sh -l -t test11 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 20 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 20 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 20 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 20 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 20 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 20 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3new_vif vif4new_vif vif5add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr4 vif2 172.16.3.1 172.16.3.1/24add_vif_addr6 vif3 40:40:40:40:40:40:40:41 40:40:40:40:40:40:40:41/24add_vif_addr6 vif4 50:50:50:50:50:50:50:51 50:50:50:50:50:50:50:51/24add_vif_addr6 vif5 60:60:60:60:60:60:60:61 60:60:60:60:60:60:60:61/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST11 - Bugzilla BUG #139 1) On two I-BGP peerings send an update with an empty aspath 2) Used to cause a the BGP decision process to fail. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 1 aspath empty nexthop 172.16.1.1 med 1 nlri 10.10.10.0/24 Coord peer2 send packet update origin 1 aspath empty nexthop 172.16.1.1 med 1 nlri 10.10.10.0/24 [ 2008/11/18 15:22:34 WARNING xorp_bgp:16671 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10001) 127.0.0.1(20001)} [ 2008/11/18 15:22:34 WARNING xorp_bgp:16671 BGP +499 route_table_decision.cc local_pref ] No LOCAL_PREF present Peer-{127.0.0.1(10002) 127.0.0.1(20002)} Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_routing2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_routing2.sh -l -t test11 PASS: test_routing2.sh Entering ./test_rib1.sh -l -t test1 [ 2008/11/18 15:22:41 ERROR xorp_finder:16781 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 TEST1 - Send the same route to IBGP hence RIB twice Coord reset Coord target 127.0.0.1 10000 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 1 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 - Send the same route to IBGP hence RIB twice Coord reset Coord target 127.0.0.1 10000 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 1 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 1 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test1 Entering ./test_rib1.sh -l -t test1_ipv6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 TEST1 IPV6 - Send the same route to IBGP hence RIB twice Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 15 nexthop6 40:40:40:40:40:40:40:40 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 send packet update origin 2 aspath 15 nexthop6 40:40:40:40:40:40:40:40 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 assert established make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 IPV6 - Send the same route to IBGP hence RIB twice Coord reset Coord target 127.0.0.1 10002 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 15 nexthop6 40:40:40:40:40:40:40:40 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 send packet update origin 2 aspath 15 nexthop6 40:40:40:40:40:40:40:40 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test1_ipv6 Entering ./test_rib1.sh -l -t test2 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 TEST2 - Send the same route to EBGP hence RIB twice Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 65009 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - Send the same route to EBGP hence RIB twice Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 65009 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 172.16.1.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test2 Entering ./test_rib1.sh -l -t test3 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 TEST3 - Send the same route to BGP hence RIB twice Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 65009 nexthop 192.150.187.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 192.150.187.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Send the same route to BGP hence RIB twice Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 65009 nexthop 192.150.187.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 192.150.187.2 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test3 Entering ./test_rib1.sh -l -t test4 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST4 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1add_route4 connected true false 128.16.0.0/24 172.16.2.2 1delete_route4 connected true false 128.16.0.0/24Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test4 Entering ./test_rib1.sh -l -t test5 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1add_route4 connected true false 128.16.0.0/24 172.16.2.2 1Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test5 Entering ./test_rib1.sh -l -t test6 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 TEST6 - Send an update packet on an EBGP 5 times Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 assert established Iteration: 1 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 2 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 3 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 4 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 5 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Coord peer1 assert established make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST6 - Send an update packet on an EBGP 5 times Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Coord peer1 assert established Iteration: 1 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 2 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 3 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 4 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Iteration: 5 Coord peer1 send packet update origin 1 aspath 65009 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 trie sent lookup 10.10.10.0/24 aspath 65009 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 20.20.20.0/24 Coord peer1 assert established Coord peer1 assert established SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test6 Entering ./test_rib1.sh -l -t test7 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST7 - Try and force BGP to deregister interest from the RIB Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1add_route4 connected true false 128.16.0.0/24 172.16.2.2 1Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.0.1 nlri 10.10.10.0/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.1.1 nlri 20.20.20.20/24 delete_route4 connected true false 128.16.0.0/24delete_route4 connected true false 128.16.0.0/16Coord peer1 send packet update withdraw 10.10.10.0/24 withdraw 20.20.20.20/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test7 Entering ./test_rib1.sh -l -t test8 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST8 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1add_route4 connected true false 128.16.0.0/24 172.16.2.2 2delete_route4 connected true false 128.16.0.0/24Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test8 Entering ./test_rib1.sh -l -t test9 [ 2008/11/18 15:27:16 ERROR xorp_finder:18259 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 60 seconds for TCP TIME_WAIT state timeout TEST9 - Check nexthop change on originated route Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 originate_route4 10.10.10.0/24 10.69.1.1 true false add_route4 connected true false 10.69.1.0/24 172.16.1.2 1delete_route4 connected true false 10.69.1.0/24Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test9 Entering ./test_rib1.sh -l -t test10 local_config 65008 192.150.187.78 false add_peer 127.0.0.1 10000 127.0.0.1 20001 65008 192.150.187.78 5 set_parameter 127.0.0.1 10000 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10000 127.0.0.1 20001 add_peer 127.0.0.1 10001 127.0.0.1 20001 65009 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65009 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 make_rib_errors_fatalnew_vif vif0new_vif vif1new_vif vif2new_vif vif3add_vif_addr4 vif0 172.16.1.1 172.16.1.1/24add_vif_addr4 vif1 172.16.2.1 172.16.2.1/24add_vif_addr6 vif2 40:40:40:40:40:40:40:40 40:40:40:40:40:40:40:40/24add_vif_addr6 vif3 50:50:50:50:50:50:50:50 50:50:50:50:50:50:50:50/24Waiting 0 seconds for TCP TIME_WAIT state timeout TEST10 - Nexthop resolver crashes if queuing a 0.0.0.0/0 nlri Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65009 holdtime 0 id 192.150.187.100 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1Coord peer1 send packet update origin 2 aspath 65009 nexthop 128.16.0.1 nlri 0.0.0.0/0 nlri 20.20.20.20/24 Coord peer1 assert established ./test_rib1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib1.sh -l -t test10 PASS: test_rib1.sh Entering ./test_rib_fea1.sh -l -t test1 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not add_route4 connected true false 128.16.0.0/16 172.16.1.1add_route4 connected true false 128.16.0.0/24 172.16.2.1delete_route4 connected true false 128.16.0.0/24Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer2 trie recv lookup 20.20.20.20/24 aspath 65008,64001 Coord peer2 trie recv lookup 30.30.30.30/24 aspath 65008,64001 Coord peer2 trie recv lookup 40.40.40.40/24 aspath 65008,64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route4 connected true false 128.16.0.0/16Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test1 Entering ./test_rib_fea1.sh -l -t test1_ipv6 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 IPV6 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 0 id 10.10.10.1 keepalive false ipv6 true Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 0 id 10.10.10.2 keepalive false ipv6 true Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false ipv6 true Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16::1 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16:1::1 nlri6 30:30:30:30:30:00:00:00/80 nlri6 40:40:40:40:40:00:00:00/80 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not add_route6 connected true false 128:16::0/32 40:40:40:40:40:40:40:40add_route6 connected true false 128:16::0/48 50:50:50:50:50:50:50:50delete_route6 connected true false 128:16::0/48Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 aspath 65008,64004 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route6 connected true false 128:16::0/32Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test1_ipv6 Entering ./test_rib_fea1.sh -l -t test2 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - Run test1 twice with the same process TEST1 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not add_route4 connected true false 128.16.0.0/16 172.16.1.1add_route4 connected true false 128.16.0.0/24 172.16.2.1delete_route4 connected true false 128.16.0.0/24Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer2 trie recv lookup 20.20.20.20/24 aspath 65008,64001 Coord peer2 trie recv lookup 30.30.30.30/24 aspath 65008,64001 Coord peer2 trie recv lookup 40.40.40.40/24 aspath 65008,64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route4 connected true false 128.16.0.0/16Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not TEST1 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.1.1 nlri 30.30.30.30/24 nlri 40.40.40.40/24 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not add_route4 connected true false 128.16.0.0/16 172.16.1.1add_route4 connected true false 128.16.0.0/24 172.16.2.1delete_route4 connected true false 128.16.0.0/24Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer2 trie recv lookup 20.20.20.20/24 aspath 65008,64001 Coord peer2 trie recv lookup 30.30.30.30/24 aspath 65008,64001 Coord peer2 trie recv lookup 40.40.40.40/24 aspath 65008,64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route4 connected true false 128.16.0.0/16Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer2 trie recv lookup 20.20.20.20/24 not Coord peer2 trie recv lookup 30.30.30.30/24 not Coord peer2 trie recv lookup 40.40.40.40/24 not ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test2 Entering ./test_rib_fea1.sh -l -t test2_ipv6 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST2 IPV6 - Run test1 twice with the same process TEST1 IPV6 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 0 id 10.10.10.1 keepalive false ipv6 true Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 0 id 10.10.10.2 keepalive false ipv6 true Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false ipv6 true Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16::1 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16:1::1 nlri6 30:30:30:30:30:00:00:00/80 nlri6 40:40:40:40:40:00:00:00/80 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not add_route6 connected true false 128:16::0/32 40:40:40:40:40:40:40:40add_route6 connected true false 128:16::0/48 50:50:50:50:50:50:50:50delete_route6 connected true false 128:16::0/48Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 aspath 65008,64004 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route6 connected true false 128:16::0/32Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not TEST1 IPV6 - Exercise the next hop resolver Coord reset Coord target 127.0.0.1 10004 Coord initialise attach peer1 Coord peer1 establish AS 64004 holdtime 0 id 10.10.10.1 keepalive false ipv6 true Coord peer1 assert established Coord target 127.0.0.1 10005 Coord initialise attach peer2 Coord peer2 establish AS 64005 holdtime 0 id 10.10.10.2 keepalive false ipv6 true Coord peer2 assert established Coord target 127.0.0.1 10006 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false ipv6 true Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16::1 nlri6 10:10:10:10:10:00:00:00/80 nlri6 20:20:20:20:20:00:00:00/80 Coord peer1 send packet update origin 2 aspath 64004 nexthop6 128:16:1::1 nlri6 30:30:30:30:30:00:00:00/80 nlri6 40:40:40:40:40:00:00:00/80 Sent routes to BGP, waiting... Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not add_route6 connected true false 128:16::0/32 40:40:40:40:40:40:40:40add_route6 connected true false 128:16::0/48 50:50:50:50:50:50:50:50delete_route6 connected true false 128:16::0/48Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 aspath 65008,64004 Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 aspath 65008,64004 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route6 connected true false 128:16::0/32Coord peer2 trie recv lookup 10:10:10:10:10:00:00:00/80 not Coord peer2 trie recv lookup 20:20:20:20:20:00:00:00/80 not Coord peer2 trie recv lookup 30:30:30:30:30:00:00:00/80 not Coord peer2 trie recv lookup 40:40:40:40:40:00:00:00/80 not ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test2_ipv6 Entering ./test_rib_fea1.sh -l -t test3 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Try and force a deregistration from the RIB Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 add_route4 connected true false 128.16.0.0/16 172.16.1.2 1add_route4 connected true false 128.16.0.0/24 172.16.2.2 1delete_route4 connected true false 128.16.0.0/24Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established delete_route4 connected true false 128.16.0.0/16Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test3 Entering ./test_rib_fea1.sh -l -t test4 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST4 - Metrics changing for a nexthop Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer3 trie recv lookup 10.10.10.0/24 not add_route4 connected true false 128.16.0.0/16 172.16.1.2 1Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_rib_fea1.sh: Tests Succeeded [ 2008/11/18 15:33:46 ERROR xorp_finder:19635 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test4 Entering ./test_rib_fea1.sh -l -t test5 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5: 1) Send two update packets with the same route 2) The nexthops are different one resolves the other doesn't 3) The route add on the RIB causes the unresolvable nexthop to resolve Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 send packet update origin 2 aspath 64001 nexthop 1.2.3.4 nlri 10.10.10.0/24 Coord peer2 trie recv lookup 10.10.10.0/24 not Coord peer3 trie recv lookup 10.10.10.0/24 not add_route4 connected true false 128.16.0.0/16 172.16.1.2 1Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/24 Coord peer2 trie recv lookup 10.10.10.0/24 aspath 65008,64001 Coord peer3 trie recv lookup 10.10.10.0/24 aspath 64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test5 Entering ./test_rib_fea1.sh -l -t test6 Configuring fea create_interface 738664 vif0 create_interface 738664 vif1 create_interface 738664 vif2 create_interface 738664 vif3 enable_interface 738664 vif0 enable_interface 738664 vif1 enable_interface 738664 vif2 enable_interface 738664 vif3 create_vif 738664 vif0 vif0 create_vif 738664 vif1 vif1 create_vif 738664 vif2 vif2 create_vif 738664 vif3 vif3 enable_vif 738664 vif0 vif0 enable_vif 738664 vif1 vif1 enable_vif 738664 vif2 vif2 enable_vif 738664 vif3 vif3 create_address4 738664 vif0 vif0 172.16.1.1 create_address4 738664 vif1 vif1 172.16.2.1 create_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 create_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 set_prefix4 738664 vif0 vif0 172.16.1.1 24 set_prefix4 738664 vif1 vif1 172.16.2.1 24 set_prefix6 738664 vif2 vif2 40:40:40:40:40:40:40:40 24 set_prefix6 738664 vif3 vif3 50:50:50:50:50:50:50:50 24 enable_address4 738664 vif0 vif0 172.16.1.1 enable_address4 738664 vif1 vif1 172.16.2.1 enable_address6 738664 vif2 vif2 40:40:40:40:40:40:40:40 enable_address6 738664 vif3 vif3 50:50:50:50:50:50:50:50 commit_transaction 738664 Configuring rib make_rib_errors_fatallocal_config 65008 192.150.187.78 false add_peer 127.0.0.1 10001 127.0.0.1 20001 64001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 64002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 64004 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 64005 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST6: 1) Send two update packets with the same route 2) The nexthops are different one resolves the other doesn't 3) The route add on the RIB doesn't cause the unresolvable nexthop to resolve Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 64001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 64002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established add_route4 connected true false 128.16.0.0/16 172.16.1.2 1Coord peer1 send packet update origin 2 aspath 64001 nexthop 1.2.3.4 nlri 10.10.10.0/32 Coord peer2 trie recv lookup 10.10.10.0/32 not Coord peer3 trie recv lookup 10.10.10.0/32 not Coord peer1 send packet update origin 2 aspath 64001 nexthop 128.16.0.1 nlri 10.10.10.0/32 Coord peer2 trie recv lookup 10.10.10.0/32 aspath 65008,64001 Coord peer3 trie recv lookup 10.10.10.0/32 aspath 64001 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_rib_fea1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_rib_fea1.sh -l -t test6 PASS: test_rib_fea1.sh Entering ./test_path_attribute1.sh -l -t test1 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1: 1) Send an update packet with an optional nontransitive path attribute. This path attribute should not be propogated by the BGP process Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 pathattr 0x80,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute1.sh -l -t test1 Entering ./test_path_attribute1.sh -l -t test2 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2: 1) Send an update packet with an optional transitive path attribute. This path attribute should be propogated by the BGP process with the partial bit set. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 pathattr 0xe0,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 pathattr 0xe0,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 pathattr 0xc0,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute1.sh -l -t test2 Entering ./test_path_attribute1.sh -l -t test3 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3: 1) Send an update packet with two optional path attributes. One has the transitive bit set the other doesn't. Only the path attribute with the transitive bit set should be propogated by the BGP process, with the partial bit set. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 pathattr 0xe0,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 pathattr 0xe0,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 pathattr 0xc0,0xff,1,1 pathattr 0x80,0xfe,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute1.sh -l -t test3 Entering ./test_path_attribute1.sh -l -t test4 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST4: 1) Send an update packet with a community attribute of more than 256 bytes Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 community 1 community 2 community 3 community 4 community 5 community 6 community 7 community 8 community 9 community 10 community 11 community 12 community 13 community 14 community 15 community 16 community 17 community 18 community 19 community 20 community 21 community 22 community 23 community 24 community 25 community 26 community 27 community 28 community 29 community 30 community 31 community 32 community 33 community 34 community 35 community 36 community 37 community 38 community 39 community 40 community 41 community 42 community 43 community 44 community 45 community 46 community 47 community 48 community 49 community 50 community 51 community 52 community 53 community 54 community 55 community 56 community 57 community 58 community 59 community 60 community 61 community 62 community 63 community 64 community 65 community 66 community 67 community 68 community 69 community 70 community 71 community 72 community 73 community 74 community 75 community 76 community 77 community 78 community 79 community 80 community 81 community 82 community 83 community 84 community 85 community 86 community 87 community 88 community 89 community 90 community 91 community 92 community 93 community 94 community 95 community 96 community 97 community 98 community 99 community 100 community 101 community 102 community 103 community 104 community 105 community 106 community 107 community 108 community 109 community 110 community 111 community 112 community 113 community 114 community 115 community 116 community 117 community 118 community 119 community 120 community 121 community 122 community 123 community 124 community 125 community 126 community 127 community 128 community 129 community 130 community 131 community 132 community 133 community 134 community 135 community 136 community 137 community 138 community 139 community 140 community 141 community 142 community 143 community 144 community 145 community 146 community 147 community 148 community 149 community 150 community 151 community 152 community 153 community 154 community 155 community 156 community 157 community 158 community 159 community 160 community 161 community 162 community 163 community 164 community 165 community 166 community 167 community 168 community 169 community 170 community 171 community 172 community 173 community 174 community 175 community 176 community 177 community 178 community 179 community 180 community 181 community 182 community 183 community 184 community 185 community 186 community 187 community 188 community 189 community 190 community 191 community 192 community 193 community 194 community 195 community 196 community 197 community 198 community 199 community 200 community 201 community 202 community 203 community 204 community 205 community 206 community 207 community 208 community 209 community 210 community 211 community 212 community 213 community 214 community 215 community 216 community 217 community 218 community 219 community 220 community 221 community 222 community 223 community 224 community 225 community 226 community 227 community 228 community 229 community 230 community 231 community 232 community 233 community 234 community 235 community 236 community 237 community 238 community 239 community 240 community 241 community 242 community 243 community 244 community 245 community 246 community 247 community 248 community 249 community 250 community 251 community 252 community 253 community 254 community 255 community 256 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 community 1 community 2 community 3 community 4 community 5 community 6 community 7 community 8 community 9 community 10 community 11 community 12 community 13 community 14 community 15 community 16 community 17 community 18 community 19 community 20 community 21 community 22 community 23 community 24 community 25 community 26 community 27 community 28 community 29 community 30 community 31 community 32 community 33 community 34 community 35 community 36 community 37 community 38 community 39 community 40 community 41 community 42 community 43 community 44 community 45 community 46 community 47 community 48 community 49 community 50 community 51 community 52 community 53 community 54 community 55 community 56 community 57 community 58 community 59 community 60 community 61 community 62 community 63 community 64 community 65 community 66 community 67 community 68 community 69 community 70 community 71 community 72 community 73 community 74 community 75 community 76 community 77 community 78 community 79 community 80 community 81 community 82 community 83 community 84 community 85 community 86 community 87 community 88 community 89 community 90 community 91 community 92 community 93 community 94 community 95 community 96 community 97 community 98 community 99 community 100 community 101 community 102 community 103 community 104 community 105 community 106 community 107 community 108 community 109 community 110 community 111 community 112 community 113 community 114 community 115 community 116 community 117 community 118 community 119 community 120 community 121 community 122 community 123 community 124 community 125 community 126 community 127 community 128 community 129 community 130 community 131 community 132 community 133 community 134 community 135 community 136 community 137 community 138 community 139 community 140 community 141 community 142 community 143 community 144 community 145 community 146 community 147 community 148 community 149 community 150 community 151 community 152 community 153 community 154 community 155 community 156 community 157 community 158 community 159 community 160 community 161 community 162 community 163 community 164 community 165 community 166 community 167 community 168 community 169 community 170 community 171 community 172 community 173 community 174 community 175 community 176 community 177 community 178 community 179 community 180 community 181 community 182 community 183 community 184 community 185 community 186 community 187 community 188 community 189 community 190 community 191 community 192 community 193 community 194 community 195 community 196 community 197 community 198 community 199 community 200 community 201 community 202 community 203 community 204 community 205 community 206 community 207 community 208 community 209 community 210 community 211 community 212 community 213 community 214 community 215 community 216 community 217 community 218 community 219 community 220 community 221 community 222 community 223 community 224 community 225 community 226 community 227 community 228 community 229 community 230 community 231 community 232 community 233 community 234 community 235 community 236 community 237 community 238 community 239 community 240 community 241 community 242 community 243 community 244 community 245 community 246 community 247 community 248 community 249 community 250 community 251 community 252 community 253 community 254 community 255 community 256 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 community 1 community 2 community 3 community 4 community 5 community 6 community 7 community 8 community 9 community 10 community 11 community 12 community 13 community 14 community 15 community 16 community 17 community 18 community 19 community 20 community 21 community 22 community 23 community 24 community 25 community 26 community 27 community 28 community 29 community 30 community 31 community 32 community 33 community 34 community 35 community 36 community 37 community 38 community 39 community 40 community 41 community 42 community 43 community 44 community 45 community 46 community 47 community 48 community 49 community 50 community 51 community 52 community 53 community 54 community 55 community 56 community 57 community 58 community 59 community 60 community 61 community 62 community 63 community 64 community 65 community 66 community 67 community 68 community 69 community 70 community 71 community 72 community 73 community 74 community 75 community 76 community 77 community 78 community 79 community 80 community 81 community 82 community 83 community 84 community 85 community 86 community 87 community 88 community 89 community 90 community 91 community 92 community 93 community 94 community 95 community 96 community 97 community 98 community 99 community 100 community 101 community 102 community 103 community 104 community 105 community 106 community 107 community 108 community 109 community 110 community 111 community 112 community 113 community 114 community 115 community 116 community 117 community 118 community 119 community 120 community 121 community 122 community 123 community 124 community 125 community 126 community 127 community 128 community 129 community 130 community 131 community 132 community 133 community 134 community 135 community 136 community 137 community 138 community 139 community 140 community 141 community 142 community 143 community 144 community 145 community 146 community 147 community 148 community 149 community 150 community 151 community 152 community 153 community 154 community 155 community 156 community 157 community 158 community 159 community 160 community 161 community 162 community 163 community 164 community 165 community 166 community 167 community 168 community 169 community 170 community 171 community 172 community 173 community 174 community 175 community 176 community 177 community 178 community 179 community 180 community 181 community 182 community 183 community 184 community 185 community 186 community 187 community 188 community 189 community 190 community 191 community 192 community 193 community 194 community 195 community 196 community 197 community 198 community 199 community 200 community 201 community 202 community 203 community 204 community 205 community 206 community 207 community 208 community 209 community 210 community 211 community 212 community 213 community 214 community 215 community 216 community 217 community 218 community 219 community 220 community 221 community 222 community 223 community 224 community 225 community 226 community 227 community 228 community 229 community 230 community 231 community 232 community 233 community 234 community 235 community 236 community 237 community 238 community 239 community 240 community 241 community 242 community 243 community 244 community 245 community 246 community 247 community 248 community 249 community 250 community 251 community 252 community 253 community 254 community 255 community 256 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute1.sh -l -t test4 Entering ./test_path_attribute1.sh -l -t test5 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5: 1) Check BGP handles AS4Aggregator correctly. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 as4aggregator 30.30.30.30 10.10000 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 as4aggregator 30.30.30.30 10.10000 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 as4aggregator 30.30.30.30 10.10000 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute1.sh: Tests Succeeded [ 2008/11/18 15:37:31 ERROR xorp_finder:20598 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 SIGTERM received. Exiting. Leaving ./test_path_attribute1.sh -l -t test5 PASS: test_path_attribute1.sh Entering ./test_path_attribute2.sh -l -t test1 local_config 0.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20002 65003 192.150.187.78 5 set_parameter 127.0.0.1 10003 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 (exactly as in test_path_attribute1.sh): 1) Send an update packet with an optional nontransitive path attribute. This path attribute should not be propogated by the BGP process Note: 4byte ASnums are enabled on the BGP instance, though not on the test peers. This is a simple test that enabling 4-byte ASnums doesn't break anything. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord peer2 establish AS 65008 holdtime 0 id 192.150.187.101 Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord peer3 establish AS 65003 holdtime 0 id 192.150.187.102 Operation in coordinator still pending try number: 1 Coord peer3 assert established Coord peer2 expect packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 localpref 100 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer3 expect packet update origin 2 aspath 65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 pathattr 0x80,0xff,1,1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_path_attribute2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute2.sh -l -t test1 PASS: test_path_attribute2.sh Entering ./test_path_attribute3.sh -l -t test1 local_config 2.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1: 1) Send an update packet to BGP with a 4-byte ASnum and check that it forwards an ASpath including AS_TRAN to its peers. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65002 holdtime 0 id 192.150.187.101 Coord peer2 assert established Coord peer2 expect packet update origin 2 aspath 23456,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 as4path 2.65008,65001,1,2,[3,4,5],6,[7,8],9 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer1 assert established Coord peer2 assert established ./test_path_attribute3.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute3.sh -l -t test1 Entering ./test_path_attribute3.sh -l -t test2 local_config 2.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST2: 1) Send an update packet to BGP with a 4-byte ASnum and check that it forwards a 4byte ASpath to its peers. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65002 holdtime 0 id 192.150.187.101 use_4byte_asnums true Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord peer2 expect packet update origin 2 aspath 2.65008,65001,1,2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer1 assert established Coord peer2 assert established ./test_path_attribute3.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute3.sh -l -t test2 Entering ./test_path_attribute3.sh -l -t test3 local_config 2.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3: 1) Send an update packet to BGP with a 4-byte ASnum and check that it can merge AS4Path and ASPath information. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65002 holdtime 0 id 192.150.187.101 use_4byte_asnums true Coord peer2 assert established Coord peer2 expect packet update origin 2 aspath 2.65008,65001,1,2.2,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,23456,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 as4path 65001,1,2.2,[3,4,5],6,[7,8],9 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer1 assert established Coord peer2 assert established ./test_path_attribute3.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute3.sh -l -t test3 Entering ./test_path_attribute3.sh -l -t test4 local_config 2.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST4: 1) Send an update packet to BGP with a 4-byte ASnum and check that it can merge AS4Path and ASPath information. In this case the 2-byte ASes have added data that isn't in the AS4Path. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65002 holdtime 0 id 192.150.187.101 use_4byte_asnums true Coord peer2 assert established Coord peer2 expect packet update origin 2 aspath 2.65008,65001,1,2,10.10,[3,4,5],6,[7,8],9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,23456,[3,4,5],6,[7,8],9 nexthop 20.20.20.20 as4path 10.10,[3,4,5],6,[7,8],9 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer1 assert established Coord peer2 assert established ./test_path_attribute3.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute3.sh -l -t test4 Entering ./test_path_attribute3.sh -l -t test5 local_config 2.65008 192.150.187.78 true register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 5 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 5 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5: 1) Send an update packet to BGP with a 4-byte ASnum and check that it can merge AS4Path and ASPath information. In this case the 2-byte ASes have added data that isn't in the AS4Path. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer1 establish AS 65001 holdtime 0 id 192.150.187.100 Coord peer1 assert established Coord peer2 establish AS 65002 holdtime 0 id 192.150.187.101 use_4byte_asnums true Coord peer2 assert established Coord peer2 expect packet update origin 2 aspath 2.65008,65001,1,2,11.11,10.10,[3,4,5.5],6,[7.7,8],9.9 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer1 send packet update origin 2 aspath 65001,1,2,23456,23456,[3,4,23456],6,[23456,8],23456 nexthop 20.20.20.20 as4path 11.11,10.10,[3,4,5.5],6,[7.7,8],9.9 nlri 10.10.10.0/24 nlri 20.20.20.20/24 Coord peer2 assert queue 0 Coord peer1 assert established Coord peer2 assert established ./test_path_attribute3.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_path_attribute3.sh -l -t test5 PASS: test_path_attribute3.sh Entering ./test_route_reflection1.sh -l -t test1 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10003 127.0.0.1 20003 true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10006 127.0.0.1 20006 true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 - Establish three peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established ./test_route_reflection1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection1.sh -l -t test1 Entering ./test_route_reflection1.sh -l -t test2 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10003 127.0.0.1 20003 true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10006 127.0.0.1 20006 true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 (UNH - BGP_CONF.4.4 PART A) 1) Send an update packet on peer1 2) Verify that the packet arrives at peer2 and peer3 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.1 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.1 clusterlist 0.0.0.11 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection1.sh -l -t test2 Entering ./test_route_reflection1.sh -l -t test3 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10003 127.0.0.1 20003 true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10006 127.0.0.1 20006 true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 (UNH - BGP_CONF.4.4 PART B) 1) Send an update packet on peer2 2) Verify that the packet arrives at peer1 and peer3 Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.2 clusterlist 0.0.0.11 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.2 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.2 clusterlist 0.0.0.11 Coord peer2 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 Coord peer1 assert queue 0 Coord peer2 assert queue 1 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection1.sh -l -t test3 Entering ./test_route_reflection1.sh -l -t test4 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10003 127.0.0.1 20003 true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10006 127.0.0.1 20006 true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST4 1) Send an update packet with the routers originator id 2) This packet should be supressed by the router Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Operation in coordinator still pending try number: 1 Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 192.150.187.78 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 192.150.187.78 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 192.150.187.78 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 192.150.187.78 [ 2008/11/18 15:42:40 WARNING xorp_bgp:21547 BGP +1168 plumbing.cc push ] push when none needed Coord peer1 assert queue 1 Coord peer2 assert queue 1 Coord peer3 assert queue 1 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection1.sh -l -t test4 Entering ./test_route_reflection1.sh -l -t test5 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10003 127.0.0.1 20003 true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10006 127.0.0.1 20006 true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST5 1) Send an update packet with the same cluster id 2) This packet should be supressed by the router Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 0.0.0.11 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 0.0.0.11 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 0.0.0.11 originatorid 192.150.187.78 clusterlist 0.0.0.11 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 0.0.0.11 [ 2008/11/18 15:42:54 WARNING xorp_bgp:21675 BGP +1168 plumbing.cc push ] push when none needed Coord peer1 assert queue 1 Coord peer2 assert queue 1 Coord peer3 assert queue 1 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection1.sh -l -t test5 PASS: test_route_reflection1.sh Entering ./test_route_reflection2.sh -l -t test1 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65000 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65000 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST1 - Establish three peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65000 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established ./test_route_reflection2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection2.sh -l -t test1 Entering ./test_route_reflection2.sh -l -t test2 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65000 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65000 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST2 - Bugzilla BUG #425 1) Verify that a CLUSTER_LIST is not sent to an E-BGP peer. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65000 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 originatorid 10.10.10.1 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 65008,1 nexthop 192.150.187.78 nlri 10.10.10.0/24 med 1 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 clusterlist 1.2.3.4 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection2.sh -l -t test2 Entering ./test_route_reflection2.sh -l -t test3 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65000 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65000 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Based on Bugzilla BUG #425 1) Verify that an ORIGINATOR_ID is not sent to an E-BGP peer. Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65000 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 65008,1 nexthop 192.150.187.78 nlri 10.10.10.0/24 med 1 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection2.sh -l -t test3 Entering ./test_route_reflection2.sh -l -t test4 local_config 65008 192.150.187.78 false route_reflector 0.0.0.11 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65008 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65008 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true route_reflector_client 127.0.0.1 10002 127.0.0.1 20002 true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65000 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65008 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65008 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true route_reflector_client 127.0.0.1 10005 127.0.0.1 20005 true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65000 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST4 - Based on Bugzilla BUG #425 1) ORIGINATOR_IDs and CLUSTER_LIST attributes shouldn't be sent to EBGP peers include both attributes Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65008 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65008 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65000 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 clusterlist 1.2.3.4 Coord peer2 expect packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 clusterlist 1.2.3.4 clusterlist 0.0.0.11 Coord peer3 expect packet update origin 2 aspath 65008,1 nexthop 192.150.187.78 nlri 10.10.10.0/24 med 1 Coord peer1 send packet update origin 2 aspath 1 nexthop 192.150.187.78 nlri 10.10.10.0/24 localpref 10 originatorid 1.2.3.4 clusterlist 1.2.3.4 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_reflection2.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_reflection2.sh -l -t test4 PASS: test_route_reflection2.sh Entering ./test_route_flap_damping1.sh -l -t test1 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65001 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65002 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 60 seconds for TCP TIME_WAIT state timeout TEST1 - Establish three peerings Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65002 holdtime 0 id 10.10.10.2 keepalive false Operation in coordinator still pending try number: 1 Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Operation in coordinator still pending try number: 1 Coord peer3 assert established ./test_route_flap_damping1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_flap_damping1.sh -l -t test1 Entering ./test_route_flap_damping1.sh -l -t test2 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65001 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65002 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST2 - Bugzilla BUG #471 1) Introduce a route on an E-BGP peering. 2) Enable route flap damping on the BGP process. 3) Withdraw orignal route. (used to cause a BGP assert) Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer2 expect packet update origin 2 aspath 65008,65001 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 Coord peer3 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 localpref 100 nlri 10.10.10.0/24 Coord peer1 send packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 route_flap_damping 15 60 750 3000 false Coord peer1 expect packet update withdraw 10.10.10.0/24 Coord peer2 expect packet update withdraw 10.10.10.0/24 Coord peer3 expect packet update withdraw 10.10.10.0/24 Coord peer1 send packet update withdraw 10.10.10.0/24 Coord peer1 assert queue 2 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_flap_damping1.sh: Tests Succeeded [ 2008/11/18 15:46:18 ERROR xorp_finder:22342 LIBXORP +714 asyncio.cc complete_transfer ] Write error 104 SIGTERM received. Exiting. Leaving ./test_route_flap_damping1.sh -l -t test2 Entering ./test_route_flap_damping1.sh -l -t test3 local_config 65008 192.150.187.78 false register_rib add_peer 127.0.0.1 10001 127.0.0.1 20001 65001 192.150.187.78 0 set_parameter 127.0.0.1 10001 127.0.0.1 20001 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 65002 192.150.187.78 0 set_parameter 127.0.0.1 10002 127.0.0.1 20002 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 65008 192.150.187.78 0 set_parameter 127.0.0.1 10003 127.0.0.1 20003 MultiProtocol.IPv4.Unicast true enable_peer 127.0.0.1 10003 127.0.0.1 20003 add_peer 127.0.0.1 10004 127.0.0.1 20004 65001 192.150.187.78 0 set_parameter 127.0.0.1 10004 127.0.0.1 20004 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10004 127.0.0.1 20004 add_peer 127.0.0.1 10005 127.0.0.1 20005 65002 192.150.187.78 0 set_parameter 127.0.0.1 10005 127.0.0.1 20005 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10005 127.0.0.1 20005 add_peer 127.0.0.1 10006 127.0.0.1 20006 65008 192.150.187.78 0 set_parameter 127.0.0.1 10006 127.0.0.1 20006 MultiProtocol.IPv6.Unicast true enable_peer 127.0.0.1 10006 127.0.0.1 20006 Waiting 0 seconds for TCP TIME_WAIT state timeout TEST3 - Variation on test2 1) Introduce a route on an E-BGP peering. 2) Enable route flap damping on the BGP process. 3) Introduce same route (used to cause a BGP assert) Coord reset Coord target 127.0.0.1 10001 Coord initialise attach peer1 Coord peer1 establish AS 65001 holdtime 0 id 10.10.10.1 keepalive false Coord peer1 assert established Coord target 127.0.0.1 10002 Coord initialise attach peer2 Coord peer2 establish AS 65002 holdtime 0 id 10.10.10.2 keepalive false Coord peer2 assert established Coord target 127.0.0.1 10003 Coord initialise attach peer3 Coord peer3 establish AS 65008 holdtime 0 id 10.10.10.3 keepalive false Coord peer3 assert established Coord peer1 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer2 expect packet update origin 2 aspath 65008,65001 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 Coord peer3 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 localpref 100 nlri 10.10.10.0/24 Coord peer1 send packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer1 assert queue 1 Coord peer2 assert queue 0 Coord peer3 assert queue 0 route_flap_damping 15 60 750 3000 false Coord peer1 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer2 expect packet update origin 2 aspath 65008,65001 nexthop 192.150.187.78 med 1 nlri 10.10.10.0/24 Coord peer3 expect packet update origin 2 aspath 65001 nexthop 192.150.187.78 localpref 100 nlri 10.10.10.0/24 Coord peer1 send packet update origin 2 aspath 65001 nexthop 192.150.187.78 nlri 10.10.10.0/24 Coord peer1 assert queue 2 Coord peer2 assert queue 0 Coord peer3 assert queue 0 Coord peer1 assert established Coord peer2 assert established Coord peer3 assert established ./test_route_flap_damping1.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_route_flap_damping1.sh -l -t test3 PASS: test_route_flap_damping1.sh Entering ./test_terminate.sh -l -t test1 local_config 65008 192.150.187.78 false register_rib TEST1 - Verify that BGP shuts down cleanly shutdown [ 2008/11/18 15:46:40 INFO xorp_bgp BGP ] EVENT: timers 3 [ 2008/11/18 15:46:40 INFO xorp_bgp BGP ] xrl router still has pending operations [ 2008/11/18 15:46:40 INFO xorp_bgp BGP ] xrl router no more pending operations ******************* Command: ../xorp_bgp exited status: 0 22629 ./test_terminate.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_terminate.sh -l -t test1 Entering ./test_terminate.sh -l -t test2 local_config 65008 192.150.187.78 false register_rib TEST2 - Verify that BGP shuts down after enabling three peerings add_peer 127.0.0.1 10001 127.0.0.1 20001 6401 127.0.0.1 60 enable_peer 127.0.0.1 10001 127.0.0.1 20001 add_peer 127.0.0.1 10002 127.0.0.1 20002 6402 127.0.0.1 60 enable_peer 127.0.0.1 10002 127.0.0.1 20002 add_peer 127.0.0.1 10003 127.0.0.1 20003 6403 127.0.0.1 60 enable_peer 127.0.0.1 10003 127.0.0.1 20003 shutdown [ 2008/11/18 15:46:52 INFO xorp_bgp BGP ] EVENT: timers 3 [ 2008/11/18 15:46:52 INFO xorp_bgp BGP ] xrl router still has pending operations [ 2008/11/18 15:46:52 INFO xorp_bgp BGP ] xrl router no more pending operations ******************* Command: ../xorp_bgp exited status: 0 22645 ./test_terminate.sh: Tests Succeeded SIGTERM received. Exiting. Leaving ./test_terminate.sh -l -t test2 PASS: test_terminate.sh Running: single_ipv4 Running: single_ipv6 Running: replay_ipv4 Running: replay_ipv6 PASS: test_trie =================== All 14 tests passed =================== gmake[2]: Leaving directory `/root/Desktop/xorp/bgp/harness' gmake[1]: Leaving directory `/root/Desktop/xorp/bgp/harness'