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

common: don't blanket-ignore sd-executor coredumps #668

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

mrc0mmand
Copy link
Member

Limit this only to TEST-02-UNITTESTS where it's expected, as it otherwise might (and did) hide real issues.

Limit this only to TEST-02-UNITTESTS where it's expected, as it
otherwise might (and did) hide real issues.
There's quite a number of intentional crashes in unit tests and
filtering them out is PITA, especially when it comes to crashes that
happen during "double-fork" (test-execute), since their executable is
then set to systemd-executor, which we don't want to "blanket-ignore".

Instead, let's check for any coredumps before running unit tests, so we
get the boot sequence covered, and then instruct the coredump-collecting
machinery to look for coredumps that happened only after the unit tests.
vagrant/test_scripts/test-arch-coverage.sh Fixed Show fixed Hide fixed
vagrant/test_scripts/test-arch.sh Fixed Show fixed Hide fixed
agent/testsuite-alt.sh Fixed Show fixed Hide fixed
agent/testsuite.sh Fixed Show fixed Hide fixed
@mrc0mmand mrc0mmand marked this pull request as ready for review October 18, 2023 20:59
@mrc0mmand mrc0mmand merged commit 0d7f7aa into systemd:main Oct 18, 2023
5 checks passed
@mrc0mmand mrc0mmand deleted the dont-ignore-sd-executor-coredumps branch October 18, 2023 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant