On a Bullseye image, when running the dhcp_relay/test_dhcp_relay.py testcase on a kvm t0 topology, zebra crashes, with the following backtrace:
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ff499a54535 in __GI_abort () at abort.c:79
#2 0x00007ff499a5440f in __assert_fail_base (fmt=0x7ff499bb6ee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ff4995624f1 "data_len", file=0x7ff499562074 "zebra/zebra_fpm.c", line=998, function=<optimized out>) at assert.c:92
#3 0x00007ff499a62102 in __GI___assert_fail (assertion=assertion@entry=0x7ff4995624f1 "data_len", file=file@entry=0x7ff499562074 "zebra/zebra_fpm.c", line=line@entry=998,
function=function@entry=0x7ff499562c70 <__PRETTY_FUNCTION__.21844> "zfpm_build_route_updates") at assert.c:101
#4 0x00007ff499560dd2 in zfpm_build_route_updates () at zebra/zebra_fpm.c:998
#5 zfpm_build_updates () at zebra/zebra_fpm.c:1154
#6 zfpm_write_cb (thread=<optimized out>) at zebra/zebra_fpm.c:1191
#7 zfpm_write_cb (thread=0x7ffc1dcd2c10) at zebra/zebra_fpm.c:1162
#8 0x00007ff499dac516 in thread_call (thread=thread@entry=0x7ffc1dcd2c10) at lib/thread.c:1628
#9 0x00007ff499d74cf0 in frr_run (master=0x562209e7da10) at lib/libfrr.c:1099
#10 0x000056220880ed0d in main (argc=9, argv=0x7ffc1dcd3018) at zebra/main.c:457
In addition, the DHCP test case fails because it's unable to find the relay/offer packets.
Description
On a Bullseye image, when running the
dhcp_relay/test_dhcp_relay.py
testcase on a kvm t0 topology,zebra
crashes, with the following backtrace:In addition, the DHCP test case fails because it's unable to find the relay/offer packets.
Describe the results you received:
Snippet of test output:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:sonic_dump_vlab-01_20210813_222231.tar.gz
Additional information you deem important (e.g. issue happens only occasionally):
Since this is a Bullseye image,
python
on the switch points to Python 3. Within the containers,python
still points to Python 2.Related PR: #8191