google / clusterfuzz

Scalable fuzzing infrastructure.
https://google.github.io/clusterfuzz
Apache License 2.0
5.27k stars 551 forks source link

Live Debugging with Clusterfuzz in GCP #2643

Open urbanenomad opened 2 years ago

urbanenomad commented 2 years ago

I am trying to debug why our cluster is no longer picking up jobs and we would like to use the GCP live debugger tool documented here.

https://cloud.google.com/debugger/docs/setup/python

So I placed the following code src/appengine/main.py near the end

try: import module_init module_init.appengine() except ImportError: pass

try: import googleclouddebugger googleclouddebugger.enable( breakpoint_enable_canary=False ) except ImportError: pass import server

And i put the following line in /src/appengine/gae_requirements.txt and /src/requirements.txt google-python-cloud-debugger

But it looks like this does not work. The main thing I notice is that the gae_requirements.txt and requirements.txt does not pick up the google-python-cloud-debugger library and from the logs it looks like my changes get overwritten or does not use the ones I updated.

Have you guys used google's debugger tool and if so is there any guidance on how to get it to work on the clusterfuzz appengine?

sfiecko commented 2 years ago

@urbanenomad - have you progressed? I would like to debug it as well...