Signal Handlers

Users can send usr1 or usr2 signals to the running testplan process to get some debug information.

Stop for debugging

Triggering usr1 signal using command kill -usr1 <testplan-process-id> drops Testplan to a pdb mode. The command can easily be run from the command line:

(testplan-env) $ kill -usr1 3456

Sample command line output:

Received SIGUSR1, dropping into pdb
--Return--
> pdb_drop_handler()->None
-> pdb.set_trace()
(Pdb)