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

Revamp --follow-exec #962

Merged
merged 21 commits into from
Mar 20, 2022
Merged

Revamp --follow-exec #962

merged 21 commits into from
Mar 20, 2022

Conversation

xd009642
Copy link
Owner

Event log now stores manifest information just to make my
tarpaulin-viewer output more compact
I found out posix_spawn causes a call to vfork, I imagine this is the
most common time it occurs so should factor that in and put a
handle_exec in there
xd009642 added 10 commits March 3, 2022 18:17
Prototypes compound actions and also handles things being signaled in
some manner.
Changes it so we only continue vfork parent in the situation where
--forward is passed
Some binaries that are exec'ed and killed may not show as finishing
before the root test process, and I'm not sure if they ever will show
up? So add a fail-safe merge. Also made signalling less open so only do
the TryContinue on SIGTERM
So now we don't have compound events at all, and there is a
last_wait_attempt for when the test is finished but tarpaulin is waiting
for other things to finish i.e. executables it's getting exec coverage
on.
Also, fix debug traces for spawned processes
Timeouts are impossible, and even if `last_wait_attempt` is called we
don't want to just launch the entire test binary again _just in case_
@xd009642 xd009642 marked this pull request as ready for review March 20, 2022 16:10
@xd009642 xd009642 changed the title WIP work on integration tests which issue a kill to spawned application Revamp --follow-exec Mar 20, 2022
@xd009642 xd009642 merged commit 83f1297 into develop Mar 20, 2022
@xd009642 xd009642 deleted the issue/process-kill-953 branch March 20, 2022 16:19
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