Skip to content
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

Coverage tests: lots of libgcov profiling errors #85

Open
jagalactic opened this issue Oct 24, 2024 · 1 comment
Open

Coverage tests: lots of libgcov profiling errors #85

jagalactic opened this issue Oct 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jagalactic
Copy link
Contributor

jagalactic commented Oct 24, 2024

In at least some cases this appears to be due to some but not all tests running as root - such that the non-root tests can't write some file that they need to write.

@jagalactic jagalactic added the bug Something isn't working label Oct 24, 2024
@jagalactic
Copy link
Contributor Author

jagalactic commented Oct 24, 2024

A sample:

libgcov profiling error:/home/jmg/w/famfs/coverage/testlib/CMakeFiles/famfstest.dir/xrand.c.gcda:Error writing
+ sudo /home/jmg/w/famfs/coverage/famfs clone /mnt/famfs/original /mnt/famfs/clone
libgcov profiling error:/home/jmg/w/famfs/coverage/testlib/CMakeFiles/famfstest.dir/xrand.c.gcda:Error writing
+ sudo /home/jmg/w/famfs/coverage/famfs clone -v /mnt/famfs/original /mnt/famfs/clone1
libgcov profiling error:/home/jmg/w/famfs/coverage/testlib/CMakeFiles/famfstest.dir/xrand.c.gcda:Error writing
+ sudo /home/jmg/w/famfs/coverage/famfs clone -v /mnt/famfs/clone /mnt/famfs/clone2
libgcov profiling error:/home/jmg/w/famfs/coverage/testlib/CMakeFiles/famfstest.dir/xrand.c.gcda:Error writing

The tests above are running as root, so non-rootness may cause some problems, but not all. Or perhaps my theory is wrong.

@jagalactic jagalactic changed the title Coverage tests: lots of lingcod profiling errors Coverage tests: lots of libgcov profiling errors Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant