Hyperfoil / qDup

Lab automation and queuing scripting
Apache License 2.0
12 stars 12 forks source link

Create a "Core Dump" action in rest api to assist debugging #121

Open johnaohara opened 2 years ago

johnaohara commented 2 years ago

Sometimes runs hang due to internal signal states, or can appear to hang due to long running processes without terminal output.

A new endpoint could be introduced that creates a "core dump" of all sessions, state & signals etc to help diagnose hung scripts. This endpoint can be accessed before a run is killed and the output can be used alongside the console output to help investigate issues

rvansa commented 2 years ago

The core dump could be produced automatically from a shutdown hook, too. That will let us investigate why qDup got stuck when the job is cancelled by a timeout.