seapath / svtrace-ansible

svtrace-ansible is a tool used to evaluate the IEC61850 SV network performance on a Seapath Standalone infrastructure
Apache License 2.0
0 stars 1 forks source link

Test leave bpftrace process running on hypervisor and subscriber #12

Open ycongal-smile opened 3 days ago

ycongal-smile commented 3 days ago

On hypervisor and suscriber, running the test leave bpftrace process running:

$ ps -eo pid,user,command > before
[run test]
$ ps -eo pid,user,command > after
$ diff -u --color before after 

gives:

$ diff -u before after 
--- before      2024-10-28 11:39:19.014453298 +0100
+++ after       2024-10-28 12:02:36.872066226 +0100
@@ -155,12 +155,10 @@
[...]
+  78407 root     bpftrace --unsafe /usr/local/lib/python3.11/dist-packages/svtracing/record.bt 4 197 43 57 57
+  78409 root     bpftrace --unsafe /usr/local/lib/python3.11/dist-packages/svtracing/record.bt 4 197 43 57 57
[...]

No process should be left running after the test (even if the test is aborted, but that may be harder)