zebra: Prevent leaking ctx memory in err condition #14548
Execution finished at mininet2025 after 1611.537 seconds
Bamboo CI Link
Execution details at https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1U18I386-188
Execution Summary
Failures
All tests passed
Success and Not classified
✔️ all_protocol_startup.test_all_protocol_startup test_router_running (10.013 s)
✔️ all_protocol_startup.test_all_protocol_startup test_error_messages_vtysh (0.230 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/all_protocol_startup/test_all_protocol_startup.py:208: Skipping test for Stderr output
✔️ all_protocol_startup.test_all_protocol_startup test_error_messages_daemons (0.002 s)
✔️ all_protocol_startup.test_all_protocol_startup test_error_messages_daemons (0.002 s)
✔️ all_protocol_startup.test_all_protocol_startup test_converge_protocols (5.319 s)
✔️ all_protocol_startup.test_all_protocol_startup test_nexthop_groups (18.551 s)
✔️ all_protocol_startup.test_all_protocol_startup test_rip_status (0.157 s)
✔️ all_protocol_startup.test_all_protocol_startup test_ripng_status (0.155 s)
✔️ all_protocol_startup.test_all_protocol_startup test_ospfv2_interfaces (0.169 s)
✔️ all_protocol_startup.test_all_protocol_startup test_isis_interfaces (0.179 s)
✔️ all_protocol_startup.test_all_protocol_startup test_bgp_summary (1.421 s)
✔️ all_protocol_startup.test_all_protocol_startup test_bgp_ipv6_summary (0.155 s)
✔️ all_protocol_startup.test_all_protocol_startup test_nht (0.159 s)
✔️ all_protocol_startup.test_all_protocol_startup test_bgp_ipv4 (0.375 s)
✔️ all_protocol_startup.test_all_protocol_startup test_bgp_ipv6 (0.378 s)
✔️ all_protocol_startup.test_all_protocol_startup test_route_map (0.078 s)
✔️ all_protocol_startup.test_all_protocol_startup test_nexthop_groups_with_route_maps (2.049 s)
✔️ all_protocol_startup.test_all_protocol_startup test_nexthop_group_replace (5.552 s)
✔️ all_protocol_startup.test_all_protocol_startup test_mpls_interfaces (0.156 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/all_protocol_startup/test_all_protocol_startup.py:1610: Kernel requirements are not met, kernel version should be >= 5.19
✔️ all_protocol_startup.test_all_protocol_startup test_resilient_nexthop_group (0.003 s)
✔️ all_protocol_startup.test_all_protocol_startup test_resilient_nexthop_group (0.003 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/all_protocol_startup/test_all_protocol_startup.py:1649: Skipping test for Stderr output
✔️ all_protocol_startup.test_all_protocol_startup test_shutdown_check_stderr (0.002 s)
✔️ all_protocol_startup.test_all_protocol_startup test_shutdown_check_stderr (0.002 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/all_protocol_startup/test_all_protocol_startup.py:1709: Skipping test for memory leaks
✔️ all_protocol_startup.test_all_protocol_startup test_shutdown_check_memleak (1.392 s)
✔️ all_protocol_startup.test_all_protocol_startup test_shutdown_check_memleak (1.392 s)
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_protocols_convergence (7.840 s)
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_bfd_connection (0.377 s)
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_bfd_loss_intermediate (10.697 s)
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_bfd_comes_back_again (0.793 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_bgp_cbit_topo3/test_bfd_bgp_cbit_topo3.py:227: Memory leak test/report is disabled
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_memory_leak (1.654 s)
✔️ bfd_bgp_cbit_topo3.test_bfd_bgp_cbit_topo3 test_memory_leak (1.654 s)
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_rib_isis_step1 (15.290 s)
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_bfd_isis_sessions_step2 (0.573 s)
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_bfd_isis_interface_failure_rt2_step3 (12.271 s)
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_bfd_isis_interface_failure_rt3_step3 (5.956 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_isis_topo1/test_bfd_isis_topo1.py:248: Memory leak test/report is disabled
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_memory_leak (2.115 s)
✔️ bfd_isis_topo1.test_bfd_isis_topo1 test_memory_leak (2.115 s)
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_rib_ospf_step1 (22.730 s)
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_bfd_ospf_sessions_step2 (0.609 s)
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_bfd_ospf_interface_failure_rt2_step3 (15.325 s)
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_bfd_ospf_interface_failure_rt3_step3 (15.329 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py:253: Memory leak test/report is disabled
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_memory_leak (2.020 s)
✔️ bfd_ospf_topo1.test_bfd_ospf_topo1 test_memory_leak (2.020 s)
✔️ bfd_profiles_topo1.test_bfd_profiles_topo1 test_wait_protocols_convergence (33.001 s)
✔️ bfd_profiles_topo1.test_bfd_profiles_topo1 test_bfd_profile_values (0.896 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_profiles_topo1/test_bfd_profiles_topo1.py:153: Memory leak test/report is disabled
✔️ bfd_profiles_topo1.test_bfd_profiles_topo1 test_memory_leak (3.381 s)
✔️ bfd_profiles_topo1.test_bfd_profiles_topo1 test_memory_leak (3.381 s)
✔️ bfd_topo1.test_bfd_topo1 test_bfd_connection (9.259 s)
✔️ bfd_topo1.test_bfd_topo1 test_bgp_convergence (0.611 s)
✔️ bfd_topo1.test_bfd_topo1 test_bgp_fast_convergence (0.616 s)
✔️ bfd_topo1.test_bfd_topo1 test_bfd_fast_convergence (1.174 s)
✔️ bfd_topo1.test_bfd_topo1 test_bgp_fast_reconvergence (0.573 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_topo1/test_bfd_topo1.py:206: Memory leak test/report is disabled
✔️ bfd_topo1.test_bfd_topo1 test_memory_leak (2.001 s)
✔️ bfd_topo1.test_bfd_topo1 test_memory_leak (2.001 s)
✔️ bfd_topo2.test_bfd_topo2 test_protocols_convergence (29.237 s)
✔️ bfd_topo2.test_bfd_topo2 test_bfd_connection (0.596 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_topo2/test_bfd_topo2.py:144: Memory leak test/report is disabled
✔️ bfd_topo2.test_bfd_topo2 test_memory_leak (1.545 s)
✔️ bfd_topo2.test_bfd_topo2 test_memory_leak (1.545 s)
✔️ bfd_topo3.test_bfd_topo3 test_wait_bgp_convergence (15.932 s)
✔️ bfd_topo3.test_bfd_topo3 test_wait_bfd_convergence (2.005 s)
✔️ bfd_topo3.test_bfd_topo3 test_static_route_monitoring (6.159 s)
✔️ bfd_topo3.test_bfd_topo3 test_expect_static_rib_removal (0.859 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_topo3/test_bfd_topo3.py:241: Memory leak test/report is disabled
✔️ bfd_topo3.test_bfd_topo3 test_memory_leak (2.650 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_bfd_connection (11.583 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_bgp_convergence (0.594 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_bgp_fast_convergence (3.811 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_bfd_fast_convergence (3.872 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_bgp_fast_reconvergence (2.756 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_vrf_topo1/test_bfd_vrf_topo1.py:260: Memory leak test/report is disabled
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_memory_leak (1.761 s)
✔️ bfd_vrf_topo1.test_bfd_vrf_topo1 test_memory_leak (1.761 s)
✔️ bfd_vrflite_topo1.test_bfd_vrflite_topo1 test_bfd_connection (5.285 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bfd_vrflite_topo1/test_bfd_vrflite_topo1.py:133: Memory leak test/report is disabled
✔️ bfd_vrflite_topo1.test_bfd_vrflite_topo1 test_memory_leak (4.814 s)
✔️ bfd_vrflite_topo1.test_bfd_vrflite_topo1 test_memory_leak (4.814 s)
✔️ bgp_accept_own.test_bgp_accept_own test_bgp_accept_own (28.920 s)
✔️ bgp_addpath_best_selected.test_bgp_addpath_best_selected test_bgp_addpath_best_selected (14.677 s)
✔️ bgp_aggregate_address_matching_med.test_bgp_aggregate_address_matching_med test_aggregate_address_matching_med (20.910 s)
✔️ bgp_aggregate_address_origin.test_bgp_aggregate-address_origin test_bgp_aggregate_address_origin (6.260 s)
✔️ bgp_aggregate_address_route_map.test_bgp_aggregate-address_route-map test_bgp_maximum_prefix_invalid (8.401 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_expect_convergence (7.064 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_bgp_aggregate_address_matching_med_only (0.228 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_bgp_aggregate_address_match_and_suppress (1.408 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_bgp_aggregate_address_suppress_map (1.507 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_bgp_aggregate_address_suppress_map_update_route_map (7.038 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_aggregate_address_topo1/test_bgp_aggregate_address_topo1.py:272: Memory leak test/report is disabled
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_memory_leak (1.371 s)
✔️ bgp_aggregate_address_topo1.test_bgp_aggregate_address_topo1 test_memory_leak (1.371 s)
✔️ bgp_aggregator_zero.test_bgp_aggregator_zero test_bgp_aggregator_zero (5.781 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_aggregator_zero/test_bgp_aggregator_zero.py:113: Memory leak test/report is disabled
✔️ bgp_aggregator_zero.test_bgp_aggregator_zero test_memory_leak (0.523 s)
✔️ bgp_aigp.test_bgp_aigp test_bgp_aigp (30.397 s)
✔️ bgp_always_compare_med.test_bgp_always_compare_med_topo1 test_verify_bgp_always_compare_med_functionality_bw_eBGP_peers_p0 (38.829 s)
✔️ bgp_always_compare_med.test_bgp_always_compare_med_topo1 test_verify_bgp_always_compare_med_functionality_bw_eBGP_peers_by_changing_AD_values_p0 (17.226 s)
✔️ bgp_always_compare_med.test_bgp_always_compare_med_topo1 test_verify_bgp_always_compare_med_functionality_bw_eBGP_peers_by_changing_MED_values_p1 (26.948 s)
✔️ bgp_always_compare_med.test_bgp_always_compare_med_topo1 test_verify_bgp_always_compare_med_functionality_by_restarting_daemons_clear_bgp_shut_neighbors_p1 (46.735 s)
✔️ bgp_always_compare_med.test_bgp_always_compare_med_topo1 test_verify_bgp_always_compare_med_functionality_by_shut_noshut_interfaces_bw_bgp_neighbors_p1 (28.985 s)
✔️ bgp_as_allow_in.test_bgp_as_allow_in test_bgp_allowas_in_p0 (19.261 s)
✔️ bgp_as_allow_in.test_bgp_as_allow_in test_bgp_allowas_in_per_addr_family_p0 (7.146 s)
✔️ bgp_as_allow_in.test_bgp_as_allow_in test_bgp_allowas_in_no_of_occurrences_p0 (7.800 s)
✔️ bgp_as_allow_in.test_bgp_as_allow_in test_bgp_allowas_in_sameastoibgp_p1 (7.406 s)
✔️ bgp_as_allow_in.test_bgp_as_allow_in test_bgp_allowas_in_sameastoebgp_p1 (8.643 s)
✔️ bgp_as_override.test_bgp_as_override test_bgp_as_override (12.496 s)
✔️ bgp_as_wide_bgp_identifier.test_bgp_as_wide_bgp_identifier test_bgp_as_wide_bgp_identifier (7.070 s)
✔️ bgp_asdot_regex.test_bgp_asdot_regex test_bgp_asdot_regex (9.703 s)
✔️ bgp_aspath_zero.test_bgp_aspath_zero test_bgp_aggregator_zero (5.971 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py:93: Memory leak test/report is disabled
✔️ bgp_aspath_zero.test_bgp_aspath_zero test_memory_leak (1.060 s)
✔️ bgp_aspath_zero.test_bgp_aspath_zero test_memory_leak (1.060 s)
✔️ bgp_auth.test_bgp_auth1 test_default_peer_established (23.270 s)
✔️ bgp_auth.test_bgp_auth1 test_default_peer_remove_passwords (32.259 s)
✔️ bgp_auth.test_bgp_auth1 test_default_peer_change_passwords (32.339 s)
✔️ bgp_auth.test_bgp_auth1 test_default_prefix_peer_established (16.623 s)
✔️ bgp_auth.test_bgp_auth1 test_prefix_peer_remove_passwords (28.337 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_auth/test_bgp_auth1.py:225: Memory leak test/report is disabled
✔️ bgp_auth.test_bgp_auth1 test_memory_leak (1.868 s)
✔️ bgp_auth.test_bgp_auth1 test_memory_leak (1.868 s)
✔️ bgp_auth.test_bgp_auth2 test_vrf_prefix_peer_established (23.317 s)
✔️ bgp_auth.test_bgp_auth2 test_vrf_prefix_peer_remove_passwords (34.664 s)
✔️ bgp_auth.test_bgp_auth2 test_vrf_prefix_peer_change_passwords (32.305 s)
✔️ bgp_auth.test_bgp_auth2 test_multiple_vrf_peer_established (17.064 s)
✔️ bgp_auth.test_bgp_auth2 test_multiple_vrf_peer_remove_passwords (49.535 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_auth/test_bgp_auth2.py:233: Memory leak test/report is disabled
✔️ bgp_auth.test_bgp_auth2 test_memory_leak (2.421 s)
✔️ bgp_auth.test_bgp_auth2 test_memory_leak (2.421 s)
✔️ bgp_auth.test_bgp_auth3 test_prefix_peer_change_passwords (38.830 s)
✔️ bgp_auth.test_bgp_auth3 test_vrf_peer_established (16.616 s)
✔️ bgp_auth.test_bgp_auth3 test_vrf_peer_remove_passwords (32.560 s)
✔️ bgp_auth.test_bgp_auth3 test_vrf_peer_change_passwords (32.711 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_auth/test_bgp_auth3.py:214: Memory leak test/report is disabled
✔️ bgp_auth.test_bgp_auth3 test_memory_leak (1.954 s)
✔️ bgp_auth.test_bgp_auth3 test_memory_leak (1.954 s)
✔️ bgp_auth.test_bgp_auth4 test_multiple_vrf_peer_change_passwords (57.062 s)
✔️ bgp_auth.test_bgp_auth4 test_multiple_vrf_prefix_peer_established (17.087 s)
✔️ bgp_auth.test_bgp_auth4 test_multiple_vrf_prefix_peer_remove_passwords (49.661 s)
✔️ bgp_auth.test_bgp_auth4 test_multiple_vrf_prefix_peer_change_passwords (49.334 s)
/root/bamboo-agent-home/xml-data/build-dir/FRR-PULLREQ3-TOPO1U18I386/topotests/bgp_auth/test_bgp_auth4.py:231: Memory leak test/report is disabled
✔️ bgp_auth.test_bgp_auth4 test_memory_leak (1.973 s)
✔️ bgp_auth.test_bgp_auth4 test_memory_leak (1.973 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_modify_and_delete_router_id (12.533 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_bgp_config_with_4byte_as_number (2.093 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_BGP_config_with_invalid_ASN_p2 (7.203 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_BGP_config_with_2byteAS_and_4byteAS_number_p1 (5.466 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_bgp_timers_functionality (41.746 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_static_routes (3.594 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_admin_distance_for_existing_static_routes (1.250 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_advertise_network_using_network_command (3.371 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_clear_bgp_and_verify (7.568 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_BGP_attributes_with_vrf_default_keyword_p0 (11.188 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_bgp_with_loopback_interface (6.638 s)
✔️ bgp_basic_functionality_topo1.test_bgp_basic_functionality test_bgp_with_loopback_with_same_subnet_p1 (9.314 s)
✔️ bgp_bfd_down_cease_notification.test_bgp_bfd_down_cease_notification test_bgp_bfd_down_notification (9.587 s)
✔️ bgp_blackhole_community.test_bgp_blackhole_community test_bgp_blackhole_community (12.861 s)
✔️ bgp_bmp.test_bgp_bmp test_bgp_convergence (7.214 s)
✔️ bgp_bmp.test_bgp_bmp test_bmp_server_logging (0.012 s)
✔️ bgp_bmp.test_bgp_bmp test_bmp_bgp_unicast (4.314 s)
✔️ bgp_comm_list_delete.test_bgp_comm-list_delete test_bgp_maximum_prefix_invalid (43.563 s)
✔️ bgp_comm_list_match.test_bgp_comm_list_match test_bgp_comm_list_match (8.434 s)
✔️ bgp_comm_list_match.test_bgp_comm_list_match test_bgp_comm_list_match_any (1.654 s)
✔️ bgp_communities_topo1.test_bgp_communities test_bgp_no_advertise_community_p0 (46.023 s)
✔️ bgp_communities_topo1.test_bgp_communities_topo2 test_bgp_no_export_local_as_communities_p0 (41.473 s)
✔️ bgp_community_alias.test_bgp-community-alias test_bgp_community_alias (9.657 s)
✔️ bgp_community_change_update.test_bgp_community_change_update test_bgp_community_update_path_change (35.147 s)