The bmpServer shutdown does a pkill -f bmpserver which says kill all processes with this name. FRR topotests has multiple topotests that run at the same time, the topotests also currently has 2 tests which use the bmpserver. If they happen to be running at the same time and one test finishes before the other, the first test will kill the second tests bmpserver, thus causing it to not properly finish running.
I repeatedly see bgp_bmp failing to run properly locally.
the failing test has this log bm1/bmpserver.log:
[2024-11-19 14:43:59] Got message type: <class 'bmp.BMPRouteMonitoring'> 84
[2024-11-19 14:43:59] Got message type: <class 'bmp.BMPRouteMonitoring'> 85
[2024-11-19 14:43:59] Finished dissecting data from ('192.0.2.1', 51660)
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
[2024-11-19 14:43:59] Received signal 15, shutting down.
Description
The bmpServer shutdown does a
pkill -f bmpserver
which sayskill all processes with this name
. FRR topotests has multiple topotests that run at the same time, the topotests also currently has 2 tests which use the bmpserver. If they happen to be running at the same time and one test finishes before the other, the first test will kill the second tests bmpserver, thus causing it to not properly finish running.I repeatedly see bgp_bmp failing to run properly locally.
the failing test has this log bm1/bmpserver.log:
The exec.log has this at that time:
pkill is run at this time:
Version
How to reproduce
Run multiple bmp tests at the same time.
Expected behavior
one bmp test not to kill another bmp tests mojo
Actual behavior
mojo killed
Additional context
No response
Checklist