-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cachegrind failure in non-privileged docker container (e.g. CircleCI) #15
Comments
I've hit the same issue using earthly with a (slim) debian buster docker image. |
I set up a repo so anyone can reproduce this issue locally. |
I will look into debugging this. |
I was able to find the cause: This can be fixed by using the A good addition to iai might be to print the whole command output for a non-succesful status code. That would have made it easier to find the root cause for this issue. |
Ah, I'm so glad you were able to figure it out! For Circle, I think we can look into running this job on a machine executor instead of a docker container, since to my knowledge Circle doesn't give you a way to run a privileged container. |
I've got an issue where my benchmarks are not failing locally (ubuntu 20.04) but are failing in CI (debian buster). I've got valgrind installed there and have confirmed it's possible to run it directly, like:
However, when I run
cargo bench
, I get a failure like:the interesting portion of the backtrace is
I've tried getting more out of valgrind by running with the
VALGRIND_OPTS
environment variable set to
"-v"
and"-d -v"
, but it doesn't appear to beuseful, in that there's still no stdout, and the
target/iai
directory doesn'texist.
I'd really appreciate any suggestions on how to debug this further!
The text was updated successfully, but these errors were encountered: