-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
stop_local_testnet.sh and clean.sh fail to properly stop all geth instances. Causing the port to remain busy after restarting the local testnet, which prevents new testnets to run until all geth processes are killed manually.
Version
Branch: unstable
Version: v5.0.0-f93844e
Present Behaviour
- Go to
scripts/local_testnet/and run./start_local_testnet.sh genesis.json - Wait for the script to finish and run
tail -f ~/.lighthouse/local-testnet/testnet/geth_1.log - After a small wait, the testnet will start advancing:

- Re-start the testnet by running
./start_local_testnet.sh genesis.jsonagain. (stop_local_testnet.shandclean.sh) are part of this script. - Wait for the script to finish and run
tail -f ~/.lighthouse/local-testnet/testnet/geth_1.log - The geth instances will fail to start because their ports will be busy:

- Run
./stop_local_testnet.sh && ./clean.sh - Run
htopand search forgeth. A bunch of geth processes will still be running:

- Kill the geth processes manually.
- Run
./start_local_testnet.sh genesis.jsonagain. Now the testnet will start with no issues:

Expected Behaviour
In step 4 a new testnet should be started with no issues. Also, ./stop_local_testnet.sh && ./clean.sh should kill all geth processes.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working