mirror_frr/tests
Francois Dumontet 8273b61ef0 tests: extend tests for aspath exclude
adding a tests about:
"no bgp as-path access-list" command.

the folloxing "clear bgp *" command leads to the
crash exhibited above.

a sleep had been added to capture the crash befor the end of scenario.

50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f5f05cbb9c0 (LWP 1371086))]
(gdb) bt
    context=0x7ffcf2c216c0) at lib/sigevent.c:248
    acl_list=0x55c976ec03c0) at bgpd/bgp_aspath.c:1688
    dummy=0x7ffcf2c22340, object=0x7ffcf2c21e70) at bgpd/bgp_routemap.c:2401
    match_object=0x7ffcf2c21e70, set_object=0x7ffcf2c21e70, pref=0x0)
    at lib/routemap.c:2687
    attr=0x7ffcf2c220b0, afi=AFI_IP, safi=SAFI_UNICAST, rmap_name=0x0, label=0x0,
    num_labels=0, dest=0x55c976ebeaf0) at bgpd/bgp_route.c:1807
    addpath_id=0, attr=0x7ffcf2c22450, afi=AFI_IP, safi=SAFI_UNICAST, type=10,
    sub_type=0, prd=0x0, label=0x0, num_labels=0, soft_reconfig=0, evpn=0x0)
    at bgpd/bgp_route.c:4424
    packet=0x7ffcf2c22410) at bgpd/bgp_route.c:6266
    packet=0x7ffcf2c22410, mp_withdraw=false) at bgpd/bgp_packet.c:341
    peer=0x55c976e89ed0, size=43) at bgpd/bgp_packet.c:2414
    at bgpd/bgp_packet.c:3899

Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
(cherry picked from commit 324fa21015)
2024-02-27 07:53:24 +00:00
..
bgpd bgpd: add [no]neighbor capability fqdn command 2024-02-02 11:31:47 +01:00
helpers *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
isisd lib: add support for "features" when loading YANG modules 2024-01-28 23:28:40 +02:00
lib tests: fix grpc test 2024-02-12 07:48:50 -05:00
ospf6d ospf6d: Convert ospf6_lsa_unlock to a better api 2023-07-12 17:56:29 -04:00
ospfd *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
topotests tests: extend tests for aspath exclude 2024-02-27 07:53:24 +00:00
zebra zebra, test: mark mpls label chunks as dynamic or static 2023-10-18 09:41:02 +02:00
.gitignore tests: Ignore test_darr for git 2023-07-08 22:41:34 +03:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00