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

devimint can stop / start child processes #2274

Open
elsirion opened this issue Apr 20, 2023 · 2 comments
Open

devimint can stop / start child processes #2274

elsirion opened this issue Apr 20, 2023 · 2 comments
Assignees
Labels
CI Continuous integration devimint

Comments

@elsirion
Copy link
Contributor

elsirion commented Apr 20, 2023

Having the PIDs would allow killing and restarting single processes manually to simulate faults. Printing the exact command run would also help with that.

Edit(justinmoon): We need is some way to stop / restart child processes. Perhaps we could just print out PIDs and manually kill them. Perhaps eventually come CLI command to help with this.

@elsirion elsirion added the CI Continuous integration label Apr 20, 2023
@maan2003
Copy link
Member

by printing do you mean just in logs? or in some specific format on stdout.

we also need to print environment variables for the command. the printed command should pastable into bash directly. (use single quotes for arguments)

@maan2003 maan2003 self-assigned this Apr 21, 2023
@elsirion
Copy link
Contributor Author

by printing do you mean just in logs?

Yes, that would help I assume, unless me killing the process kills all other processes. What I want to be able to do is "start all fedimintds but one" and then start the last manually or not at all.

@justinmoon justinmoon changed the title fedimint-bin-tests should output PIDs of started processes devimint should output PIDs of started processes Sep 21, 2023
@justinmoon justinmoon changed the title devimint should output PIDs of started processes devimint can stop / start child processes Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration devimint
Projects
None yet
Development

No branches or pull requests

3 participants