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

Popen.terminate and Popen.kill in dockerblade don't behave as expected #198

Open
ChrisTimperley opened this issue Sep 23, 2021 · 0 comments

Comments

@ChrisTimperley
Copy link
Member

Popen.terminate and Popen.kill in dockerblade don't seem to be working. At least, the don't seem to be working the way the command line does.

I get the tracing:

2021-09-23 17:17:54.246 | INFO     | rosdiscover.cli:_periodic_observe:180 - Killing bash /tmp/tmp.RgfVxCnwQL.sh
2021-09-23 17:17:54.249 | INFO     | rosdiscover.cli:_periodic_observe:180 - Killing bash /tmp/tmp.PokDaCA8aV.sh
2021-09-23 17:17:54.267 | INFO     | rosdiscover.cli:_periodic_observe:180 - Killing bash /tmp/tmp.SEAp09MraL.sh

But when I open a shell, and do ps ux I see:

root      8821  0.0  0.0  20792  4180 pts/6    Ss+  17:15   0:00 bash /tmp/tmp.RgfVxCnwQL.sh
root     10056  0.0  0.0  20792  4152 pts/7    Ss+  17:16   0:00 bash /tmp/tmp.PokDaCA8aV.sh
root     10056  0.0  0.0  20792  4152 pts/7    Ss+  17:16   0:00 bash /tmp/tmp.PokDaCA8aV.sh

(As well as all the ros nodes). If from a terminal on the container I do kill 8821 etc, that stops the processes and the child processes.

Originally posted by @schmerl in #197 (comment)

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

No branches or pull requests

1 participant