bgpd: fix bgp_best_selection heap-use-after-free #14894
Execution finished at mininet2513 after 2568.750 seconds
Bamboo CI Link
Execution details at https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4U18I386-847
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 (33.765 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_TC_3_p0 (25.080 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_TC_11_p0 (27.787 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_10_p2 (26.431 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-1 test_BGP_GR_18_p1 (28.429 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_26_p2 (40.376 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_28_p1 (9.481 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_29_p1 (20.936 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_33_p1 (9.897 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-2 test_BGP_GR_chaos_34_2_p1 (19.966 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_34_1_p1 (37.769 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_32_p1 (18.491 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_37_p1 (18.513 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_chaos_30_p1 (20.207 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-3 test_BGP_GR_15_p2 (54.162 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_TC_23_p1 (37.306 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_20_p1 (24.620 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_21_p2 (41.978 s)
✔️ bgp_gr_functionality_topo2.test_bgp_gr_functionality_topo2-4 test_BGP_GR_22_p2 (43.475 s)
✔️ bgp_gshut.test_bgp_gshut test_bgp_gshut (14.108 s)
✔️ bgp_gshut_topo1.test_ebgp_gshut_topo1 test_verify_graceful_shutdown_functionality_with_eBGP_peers_p0 (23.994 s)
✔️ bgp_gshut_topo1.test_ebgp_gshut_topo1 test_verify_restarting_zebra_bgpd_staticd_frr_with_eBGP_peers_p0 (49.888 s)
✔️ bgp_gshut_topo1.test_ibgp_gshut_topo1 test_verify_graceful_shutdown_functionality_with_iBGP_peers_p0 (24.516 s)
✔️ bgp_gshut_topo1.test_ibgp_gshut_topo1 test_verify_deleting_re_adding_route_map_with_iBGP_peers_p0 (29.691 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_linux_vrf (15.124 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_adjacencies (14.451 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_routes (8.530 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_check_linux_mpls (0.241 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_del_bgp_instances (0.037 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/topotests/lib/ltemplate.py:197: Memory leak test/report is disabled
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_memory_leak (3.991 s)
✔️ bgp_instance_del_test.test_bgp_instance_del_test test_memory_leak (3.991 s)
✔️ bgp_ipv4_class_e_peer.test_bgp_ipv4_class_e_peer test_bgp_ipv4_class_e_peer (5.479 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_ibgp_to_ibgp_p1 (24.669 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_ext_nh_cap_red_static_network_ibgp_peer_p1 (9.485 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_ibgp_nbr test_bgp_peer_group_p1 (14.121 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_nbr test_ext_nh_cap_red_static_network_ebgp_peer_tc8_p0 (21.948 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_nbr test_ext_nh_cap_remove_red_static_network_ebgp_peer_tc10_p1 (10.819 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_unnumbered_loopback_ebgp_nbr_p0 (37.168 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_restart_frr_p2 (21.471 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ebgp_unnumbered_nbr test_configure_gua_on_unnumbered_intf (7.681 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ext_nh_cap_red_static_network_ibgp_peer_p1 (19.375 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ext_nh_cap_admin_dist_tag_ibgp_peer_p1 (5.312 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_nbr test_ibgp_loopback_nbr_p1 (18.472 s)
✔️ bgp_ipv4_over_ipv6.test_rfc5549_ibgp_unnumbered_nbr test_ext_nh_cap_red_static_network_ebgp_peer_unnumbered_nbr_p1 (17.792 s)
✔️ bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_ipv6_link_local_peering (5.350 s)
✔️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_protocols_convergence (5.433 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/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 (1.764 s)
✔️ bgp_ipv6_rtadv.test_bgp_ipv6_rtadv test_memory_leak (1.764 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_convergence (8.869 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_16 (1.247 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_2222 (0.680 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_auto (1.931 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_no_auto (0.737 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_auto_back (1.937 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_export_manual_from_auto (0.804 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_configure_dynamic_range (1.099 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_restart_ldp (1.273 s)
✔️ bgp_l3vpn_label_export.test_bgp_l3vpn_label_export test_vpn_label_unconfigure_dynamic_range (2.038 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_adjacencies (28.465 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_add_routes (2.523 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_check_routes (0.836 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_cleanup_all (1.081 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/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 (4.452 s)
✔️ bgp_l3vpn_to_bgp_direct.test_bgp_l3vpn_to_bgp_direct test_memory_leak (4.452 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_linux_vrf (15.634 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_adjacencies (14.435 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_notification_check (0.633 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_routes (7.842 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_linux_mpls (0.233 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_scale_up (46.929 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_check_scale_down (41.816 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/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 (4.464 s)
✔️ bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf test_memory_leak (4.464 s)
✔️ bgp_labeled_unicast_addpath.test_bgp_labeled_unicast_addpath test_bgp_addpath_labeled_unicast (15.991 s)
✔️ bgp_labeled_unicast_default_originate.test_bgp_labeled_unicast_default_originate test_bgp_labeled_unicast_default_originate (8.617 s)
✔️ bgp_large_comm_list_match.test_bgp_large_comm_list_match test_bgp_large_comm_list_match (8.400 s)
✔️ bgp_large_comm_list_match.test_bgp_large_comm_list_match test_bgp_large_comm_list_match_any (2.236 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_set (12.140 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_advertise (2.239 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_transitive (4.096 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_override (4.294 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_additive (2.479 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_match_as_path (9.285 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_match_all (9.008 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_aggregate_network (11.752 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_boundary_values (0.676 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_invalid_chars (0.473 s)
✔️ bgp_large_community.test_bgp_large_community_topo_1 test_large_community_after_clear_bgp (11.224 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_bgp_standard_large_community_list (15.792 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_bgp_expanded_large_community_list (1.881 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_modify_large_community_lists_referenced_by_rmap (2.161 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_apply_and_remove (10.691 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_duplicate_large_community_list_attributes_not_transitive (4.338 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_set_none (2.362 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_lcomm_lists_with_redistribute_static_connected_rmap (8.901 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_set_delete (4.396 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_no_send_community (6.649 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_create_large_community_lists_with_no_attribute_values (1.947 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_exact (2.409 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_all (2.473 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_any (2.472 s)
✔️ bgp_large_community.test_bgp_large_community_topo_2 test_large_community_lists_with_rmap_match_regex (18.742 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_bgp_linkbw_adv (17.352 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_bgp_cumul_linkbw (1.500 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp (2.304 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp_link_flap (2.255 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_weighted_ecmp_second_anycast_ip (1.472 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_paths_with_and_without_linkbw (1.634 s)
✔️ bgp_link_bw_ip.test_bgp_linkbw_ip test_linkbw_handling_options (5.084 s)
✔️ bgp_listen_on_multiple_addresses.test_bgp_listen_on_multiple_addresses test_peering (8.825 s)
✔️ bgp_listen_on_multiple_addresses.test_bgp_listen_on_multiple_addresses test_listening_address (1.883 s)
✔️ bgp_llgr.test_bgp_llgr test_bgp_llgr (12.659 s)
✔️ bgp_local_as.test_bgp_local_as test_bgp_local_as_same_remote_as (5.766 s)
✔️ bgp_local_as.test_bgp_local_as test_bgp_peer_group_local_as_same_remote_as (2.129 s)
✔️ bgp_local_as_dotplus_private_remove.test_bgp_local_as_dotplus_private_remove test_bgp_remove_private_as (8.807 s)
✔️ bgp_local_as_private_remove.test_bgp_local_as_private_remove test_bgp_remove_private_as (8.934 s)
✔️ bgp_local_asn.test_bgp_local_asn_agg test_verify_bgp_local_as_agg_in_EBGP_p0 (39.261 s)
✔️ bgp_local_asn.test_bgp_local_asn_ecmp test_verify_bgp_local_as_in_ecmp_EBGP_p0 (53.093 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_p0 (38.297 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_4B_AS_mid_2B_AS_p0 (28.433 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_GR_EBGP_p0 (63.577 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_aspath_p0 (31.246 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_iBGP_p0 (43.504 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_allow_as_in_iBGP_p0 (40.273 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_port_reset_p0 (31.360 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_negative2_p0 (29.239 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_negative3_p0 (9.754 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo1 test_verify_bgp_local_as_in_EBGP_restart_daemons_p0 (41.567 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo2 test_verify_bgp_local_as_in_4_Byte_AS_EBGP_p0 (37.908 s)
✔️ bgp_local_asn.test_bgp_local_asn_topo2 test_verify_bgp_local_as_in_old_AS2_new_AS4_EBGP_p0 (29.894 s)
✔️ bgp_local_asn.test_bgp_local_asn_vrf_topo1 test_verify_local_asn_ipv4_import_from_default_to_non_default_VRF_p0 (48.270 s)
✔️ bgp_local_asn.test_bgp_local_asn_vrf_topo1 test_verify_local_asn_ipv4_import_from_non_default_to_default_VRF_p0 (44.019 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.246 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_agg test_verify_bgp_local_as_agg_in_EBGP_p0 (38.776 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_ecmp test_verify_bgp_local_as_in_ecmp_EBGP_p0 (51.099 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_p0 (38.173 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_4B_AS_mid_4B_AS_p0 (28.578 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_GR_EBGP_p0 (63.533 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_aspath_p0 (28.753 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_iBGP_p0 (43.583 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_allow_as_in_iBGP_p0 (40.450 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_port_reset_p0 (31.714 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_negative2_p0 (29.199 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_negative3_p0 (9.951 s)
✔️ bgp_local_asn_dot.test_bgp_local_asn_dot_topo1 test_verify_bgp_local_as_in_EBGP_restart_daemons_p0 (41.980 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_converge_bgplu (5.271 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_traffic_connectivity (0.155 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/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.850 s)
✔️ bgp_lu_explicitnull.test_bgp_lu_explicitnull test_memory_leak (0.850 s)
✔️ bgp_lu_topo1.test_bgp_lu test_converge_bgplu (6.670 s)
✔️ bgp_lu_topo1.test_bgp_lu test_clear_bgplu (9.672 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/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.562 s)
✔️ bgp_lu_topo1.test_bgp_lu test_memory_leak (1.562 s)
✔️ bgp_lu_topo2.test_bgp_lu2 test_converge_bgplu (8.429 s)
✔️ bgp_lu_topo2.test_bgp_lu2 test_ping (9.498 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO4U18I386/topotests/bgp_lu_topo2/test_bgp_lu2.py:201: Memory leak test/report is disabled
✔️ bgp_lu_topo2.test_bgp_lu2 test_memory_leak (3.018 s)