fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

Cloud Config: Logs for running experiments

Open mvanotti opened this issue 2 years ago • 3 comments

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?

mvanotti avatar Mar 29 '23 22:03 mvanotti

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.

DonggeLiu avatar Apr 03 '23 00:04 DonggeLiu

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:

image

mvanotti avatar Apr 03 '23 13:04 mvanotti

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.

mvanotti avatar Apr 04 '23 21:04 mvanotti