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

cargo-mutants doesn't work on tarpaulin tree #350

Open
sourcefrog opened this issue May 3, 2024 · 1 comment
Open

cargo-mutants doesn't work on tarpaulin tree #350

sourcefrog opened this issue May 3, 2024 · 1 comment
Labels
bug Something isn't working confirmed-bug trial Reports from trying cargo-mutants on some tree

Comments

@sourcefrog
Copy link
Owner

sourcefrog commented May 3, 2024

So tarpaulin tests instrument binaries with breakpoints and do coverage which involves intercepting signals going to the process and handling them in code. There's a possibility I'm intercepting the cargo mutants kill signal and then failing the test because it's got an unexpected termination signal 🤔

Reproducing is pretty simple, it's just cloning tarpaulin and running cargo mutants on it

git clone --depth 1 https://github.com/xd009642/tarpaulin
cd tarpaulin
cargo mutants --in-place 

Originally posted by @xd009642 in #348 (comment)

@sourcefrog sourcefrog added bug Something isn't working trial Reports from trying cargo-mutants on some tree confirmed-bug labels May 3, 2024
@sourcefrog
Copy link
Owner Author

@xd009642 I can reproduce this; I haven't looked into why yet. I see a bunch of test failures during the baseline test. Since it isn't timing out, it should not be getting signaled. I guess something else about the environment where cargo-mutants runs it might be causing a problem?

I will look into it some more when I get a chance, but if you want to investigate then a good place to start would be to get the command that it runs from mutants.out/debug.log and run that yourself, and see if it causes the same failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed-bug trial Reports from trying cargo-mutants on some tree
Projects
None yet
Development

No branches or pull requests

1 participant