I spent some time investigating today the uprobes tests failure. I understand these test fail because the call to tracefs_event_enable() in check_probes returns -1. It also encounters errno=524, which is (apparently) the err number returned by seccomp when failing to load a filter. (see https://github.com/moby/moby/issues/45498)
Going deeper, I found this is failing because instance_file_write is trying to write a file in /sys/kernel/tracing/instances/cunit_test_iter/events/utest/utest_u/ (and creating the directory).
I understand /sys/kernel/tracing is mounted as a tracefs. I am reading about it to understand what is going on.
I spent some time investigating today the uprobes tests failure. I understand these test fail because the call to tracefs_ event_enable( ) in check_probes returns -1. It also encounters errno=524, which is (apparently) the err number returned by seccomp when failing to load a filter. (see https:/ /github. com/moby/ moby/issues/ 45498)
Going deeper, I found this is failing because instance_file_write is trying to write a file in /sys/kernel/ tracing/ instances/ cunit_test_ iter/events/ utest/utest_ u/ (and creating the directory).
I understand /sys/kernel/tracing is mounted as a tracefs. I am reading about it to understand what is going on.