Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: A couple more bgpd crash fixes for malformed packets (backport #14716) #14735

Merged
merged 2 commits into from
Nov 6, 2023

bgpd: Ignore handling NLRIs if we received MP_UNREACH_NLRI

250844b
Select commit
Loading
Failed to load commit list.
Merged

bgpd: A couple more bgpd crash fixes for malformed packets (backport #14716) #14735

bgpd: Ignore handling NLRIs if we received MP_UNREACH_NLRI
250844b
Select commit
Loading
Failed to load commit list.
NetDEF CI Pull Requests Testing / TopoTests Ubuntu 18.04 amd64 Part 4 succeeded Nov 5, 2023 in 40m 7s

Execution finished at mininet2522 after 2370.744 seconds

Bamboo CI Link
Execution details at https://ci1.netdef.org/browse/FRR-PULLREQ3-TP4U1804AMD64-551

Execution Summary

Failures
All tests passed

Success and Not classified
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_TC_1_2_p0 (30.016 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_TC_3_p0 (24.478 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_TC_11_p0 (27.535 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_10_p2 (24.823 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_18_p1 (27.170 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_26_p2 (37.074 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_28_p1 (8.495 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_29_p1 (20.241 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_33_p1 (11.144 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_34_2_p1 (19.301 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_34_1_p1 (34.234 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_32_p1 (17.616 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_37_p1 (17.000 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_30_p1 (19.148 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_15_p2 (51.482 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_TC_23_p1 (34.727 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_20_p1 (23.811 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_21_p2 (40.454 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_22_p2 (42.440 s)
✔️ bgp_gshut.test_bgp_gshut test_bgp_gshut (12.839 s)
✔️ bgp_gshut_topo1.test_ebgp_gshut_topo1 test_verify_graceful_shutdown_functionality_with_eBGP_peers_p0 (22.116 s)
✔️ bgp_gshut_topo1.test_ebgp_gshut_topo1 test_verify_restarting_zebra_bgpd_staticd_frr_with_eBGP_peers_p0 (47.710 s)
✔️ bgp_gshut_topo1.test_ibgp_gshut_topo1 test_verify_graceful_shutdown_functionality_with_iBGP_peers_p0 (22.095 s)
✔️ bgp_gshut_topo1.test_ibgp_gshut_topo1 test_verify_deleting_re_adding_route_map_with_iBGP_peers_p0 (27.568 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_linux_vrf (13.457 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_adjacencies (15.722 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_routes (7.453 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_linux_mpls (0.179 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_del_bgp_instances (0.026 s)
⚠️ bgp_instance_del_test.test_bgp_instance_del_test test_memory_leak(4.103 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/lib/ltemplate.py:197: Memory leak test/report is disabled

✔️ bgp_instance_del_test.test_bgp_instance_del_test test_memory_leak (4.103 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_memory_leak (4.103 s)
✔️ bgp_ipv4_class_e_peer.test_bgp_ipv4_class_e_peer test_bgp_ipv4_class_e_peer (4.801 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_ibgp_to_ibgp_p1 (21.772 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_ext_nh_cap_red_static_network_ibgp_peer_p1 (9.033 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_bgp_peer_group_p1 (12.805 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_nbr test_ext_nh_cap_red_static_network_ebgp_peer_tc8_p0 (19.686 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_nbr test_ext_nh_cap_remove_red_static_network_ebgp_peer_tc10_p1 (11.091 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_unnumbered_loopback_ebgp_nbr_p0 (33.545 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_restart_frr_p2 (20.467 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_configure_gua_on_unnumbered_intf (7.770 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ext_nh_cap_red_static_network_ibgp_peer_p1 (16.996 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ext_nh_cap_admin_dist_tag_ibgp_peer_p1 (4.861 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ibgp_loopback_nbr_p1 (17.075 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_unnumbered_nbr test_ext_nh_cap_red_static_network_ebgp_peer_unnumbered_nbr_p1 (16.214 s)
✔️ bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_ipv6_link_local_peering (5.392 s)
✔️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_protocols_convergence (5.081 s)
⚠️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_memory_leak(0.553 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/bgp_ipv6_rtadv/test_bgp_ipv6_rtadv.py:128: Memory leak test/report is disabled

✔️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_memory_leak (0.553 s)
✔️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_memory_leak (0.553 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_adjacencies (24.461 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_add_routes (2.163 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_check_routes (0.724 s)
⚠️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_memory_leak(5.403 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/lib/ltemplate.py:197: Memory leak test/report is disabled

✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_memory_leak (5.403 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_memory_leak (5.403 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_linux_vrf (13.157 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_adjacencies (15.680 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_notification_check (0.500 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_routes (6.699 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_linux_mpls (0.187 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_scale_up (43.820 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_scale_down (38.853 s)
⚠️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_memory_leak(3.700 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/lib/ltemplate.py:197: Memory leak test/report is disabled

✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_memory_leak (3.700 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_memory_leak (3.700 s)
✔️ bgp_labeled_unicast_addpath.test_bgp_labeled_unicast_addpath test_bgp_addpath_labeled_unicast (13.716 s)
✔️ bgp_labeled_unicast_default_originate.test_bgp_labeled_unicast_default_originate test_bgp_labeled_unicast_default_originate (8.580 s)
✔️ bgp_large_comm_list_match.test_bgp_large_comm_list_match test_bgp_large_comm_list_match (8.358 s)
✔️ bgp_large_comm_list_match.test_bgp_large_comm_list_match test_bgp_large_comm_list_match_any (0.894 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_set (10.643 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_advertise (1.755 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_transitive (3.806 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_override (3.898 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_additive (1.991 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_match_as_path (8.566 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_match_all (2.137 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_aggregate_network (10.826 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_boundary_values (0.541 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_invalid_chars (0.389 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_after_clear_bgp (10.580 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_bgp_standard_large_community_list (13.070 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_bgp_expanded_large_community_list (1.498 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_modify_large_community_lists_referenced_by_rmap (3.849 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_apply_and_remove (10.254 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_duplicate_large_community_list_attributes_not_transitive (3.742 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_set_none (1.829 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_lcomm_lists_with_redistribute_static_connected_rmap (8.257 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_set_delete (3.891 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_no_send_community (6.112 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_large_community_lists_with_no_attribute_values (1.432 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_exact (1.898 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_all (2.007 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_any (1.996 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_regex (19.151 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_bgp_linkbw_adv (14.382 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_bgp_cumul_linkbw (1.321 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp (2.024 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp_link_flap (1.979 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp_second_anycast_ip (1.215 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_paths_with_and_without_linkbw (1.305 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_linkbw_handling_options (4.695 s)
✔️ bgp_listen_on_multiple_addresses.test_bgp_listen_on_multiple_addresses test_peering (7.460 s)
✔️ bgp_listen_on_multiple_addresses.test_bgp_listen_on_multiple_addresses test_listening_address (1.375 s)
✔️ bgp_llgr.test_bgp_llgr test_bgp_llgr (11.187 s)
✔️ bgp_local_as.test_bgp_local_as test_bgp_local_as_same_remote_as (5.019 s)
✔️ bgp_local_as.test_bgp_local_as test_bgp_peer_group_local_as_same_remote_as (0.806 s)
✔️ bgp_local_as_dotplus_private_remove.test_bgp_local_as_dotplus_private_remove test_bgp_remove_private_as (7.823 s)
✔️ bgp_local_as_private_remove.test_bgp_local_as_private_remove test_bgp_remove_private_as (8.300 s)
✔️ bgp_local_asn.test_bgp_local_asn_agg test_verify_bgp_local_as_agg_in_EBGP_p0 (33.734 s)
✔️ bgp_local_asn.test_bgp_local_asn_ecmp test_verify_bgp_local_as_in_ecmp_EBGP_p0 (49.724 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_p0 (34.290 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_4B_AS_mid_2B_AS_p0 (26.291 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_GR_EBGP_p0 (60.654 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_aspath_p0 (29.235 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_iBGP_p0 (41.180 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_allow_as_in_iBGP_p0 (37.608 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_port_reset_p0 (29.138 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_negative2_p0 (27.154 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_negative3_p0 (9.005 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_restart_daemons_p0 (38.610 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo2 test_verify_bgp_local_as_in_4_Byte_AS_EBGP_p0 (34.297 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo2 test_verify_bgp_local_as_in_old_AS2_new_AS4_EBGP_p0 (27.402 s)
✔️ bgp_local_asn.test_bgp_local_asn_vrf_topo1 test_verify_local_asn_ipv4_import_from_default_to_non_default_VRF_p0 (47.988 s)
✔️ bgp_local_asn.test_bgp_local_asn_vrf_topo1 test_verify_local_asn_ipv4_import_from_non_default_to_default_VRF_p0 (42.272 s)
✔️ bgp_local_asn.test_bgp_local_asn_vrf_topo2 test_verify_local_asn_ipv4_import_from_non_default_to_non_default_VRF_p0 (56.540 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_agg test_verify_bgp_local_as_agg_in_EBGP_p0 (33.247 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_ecmp test_verify_bgp_local_as_in_ecmp_EBGP_p0 (47.199 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_p0 (34.871 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_4B_AS_mid_4B_AS_p0 (26.448 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_GR_EBGP_p0 (61.915 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_aspath_p0 (26.557 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_iBGP_p0 (40.993 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_allow_as_in_iBGP_p0 (37.661 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_port_reset_p0 (29.370 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_negative2_p0 (26.782 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_negative3_p0 (8.820 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_restart_daemons_p0 (46.762 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_converge_bgplu (5.568 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_traffic_connectivity (0.103 s)
⚠️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_memory_leak(0.669 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/bgp_lu_explicitnull/test_bgp_lu_explicitnull.py:189: Memory leak test/report is disabled

✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_memory_leak (0.669 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_memory_leak (0.669 s)
✔️ bgp_lu_topo1.test_bgp_lu test_converge_bgplu (6.007 s)
✔️ bgp_lu_topo1.test_bgp_lu test_clear_bgplu (8.113 s)
⚠️ bgp_lu_topo1.test_bgp_lu test_memory_leak(1.458 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/bgp_lu_topo1/test_bgp_lu.py:161: Memory leak test/report is disabled

✔️ bgp_lu_topo1.test_bgp_lu test_memory_leak (1.458 s)
✔️ bgp_lu_topo1.test_bgp_lu test_memory_leak (1.458 s)
✔️ bgp_lu_topo2.test_bgp_lu2 test_converge_bgplu (6.187 s)
✔️ bgp_lu_topo2.test_bgp_lu2 test_ping (9.425 s)
⚠️ bgp_lu_topo2.test_bgp_lu2 test_memory_leak(2.074 s)

/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TP4U1804AMD64/topotests/bgp_lu_topo2/test_bgp_lu2.py:201: Memory leak test/report is disabled

✔️ bgp_lu_topo2.test_bgp_lu2 test_memory_leak (2.074 s)
✔️ bgp_lu_topo2.test_bgp_lu2 test_memory_leak (2.074 s)