Open agentzh opened 6 months ago
When running the unit test suite of bpftime on Fedora Linux x86_64, I'm seeing 2 test cases failing consistently:
=============================================================================== test cases: 16 | 14 passed | 2 failed assertions: 8385 | 8383 passed | 2 failed
The detailed errors for these 2 test cases are as following:
/home/agentzh/bpftime/runtime/unit-test/attach/test_function_address_resolve.cpp:26: FAILED: REQUIRE( addr == (void *)&malloc ) with expansion: 0x00007f00edf33220 == 0x000000000040f1b0 with message: malloc addr resolved: 139641968865824
and also
/home/agentzh/bpftime/runtime/unit-test/tailcall/test_user_to_kernel_tailcall.cpp:64: FAILED: REQUIRE( prog_fd >= 0 ) with expansion: -1 >= 0
OK, I can confirm that one of the test failure can be fixed by running make unit-test with sudo. Now only the test_function_address_resolve.cpp test failure remains.
make unit-test
sudo
test_function_address_resolve.cpp
When running the unit test suite of bpftime on Fedora Linux x86_64, I'm seeing 2 test cases failing consistently:
The detailed errors for these 2 test cases are as following:
and also