fuzzbench
fuzzbench copied to clipboard
Cloud Config: Logs for running experiments
I tried running an experiment in my own cloud project. It seems to have failed, but I don't know how to figure out what went wrong. The same experiment worked locally.
Is there a way to access any kind of logs to understand what's going on? If so, would it be possible to add it to the documentation?
If you are using Google Cloud, then the logs of FuzzBench should be available under Logs Explorer.
The logs of each experiment instance are available in the data bucket you defined in your experiment configuration file. For example, our data bucket is defined here.
In the data bucket, you should be able to find a directory named after your experiment name, in which you can find the build logs (whether the benchmarks build successfully) under build-logs/, and the fuzzer logs at experiment-folders/<benchmark>-<fuzzer>/trial-<trial-id>/results/fuzzer-logs.
Thanks for the reply!
I do see some logs in gcp's Logs Explorer, but I can't see anything related to why it is failing:

It looks like if there's an error in the dispatcher, you will have to ssh into the machine and look into /tmp/dispatcher.log.