-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14 tests fail on ubuntu 20.04 #3171
Comments
Are you running the failing tools with root privileges? Do you have the Lockdown LSM enabled? |
Running the tools as root appears to fix the issues there, so thanks for that! FWIW, I do not have the Lockdown LSM enabled (I'm pretty sure, at least; |
I know some of the tests can be flaky (test_tools_smoke.py is particularly flaky iirc). For other tests, it may just be compatibility issues with whatever version of the Linux kernel, libbpf, etc. that you are running. |
FWIW, I experienced the following similar failures:
To confirm, Lockdown LSM is disabled:
Kernel Version:
@willfindlay do you know if there are there plans to eventually support |
I've compiled from source as described in INSTALL.md, and installed
netperf
for tests. The build itself succeeds (with some mostly-harmless warnings from LLVM), butmake test
gives the following summary:For what it's worth, the affect of whatever is causing these tests to fail is for none of the tools to work, and presumably
bcc
itself; for example,I've seen this exception arise in other issues that may have been related to not having the latest linux headers or a new enough kernel, so I made sure everything was up-to-date and that I had all the relevant headers installed before compiling.
Anyone have any ideas about what could be going wrong?
The text was updated successfully, but these errors were encountered: