clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

Centipede not always setting sanitized_target

Open jonathanmetzman opened this issue 2 years ago • 3 comments

https://pantheon.corp.google.com/errors/detail/CNiDuO-3_6iKVg;time=P30D?project=google.com:clusterfuzz&utm_source=error-reporting-notification&utm_medium=email&utm_content=new-error&pli=1&rapt=AEjHL4M0aXmFBxioZrxgPwT6SQ-x8Y-w6ciz3IUeU1oVUTk9p3Ha5MOx8lJtxLeh-LPvN5ENvVzq-GNI1gSbwTvlI9dhJQ2i3g

It seems like the fix is making this log an error and bailing out instead of continuing since we can't recover from this error: https://github.com/google/clusterfuzz/blob/master/src/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py#L205

I'm not sure why this is happening at all though, I thought centipede isn't enabled (I configured the job but disabled) in Chrome clusterfuzz.

jonathanmetzman avatar May 04 '23 19:05 jonathanmetzman

I deleted centipede_chrome_asan. It was being used in variant task. Variant task should probably not mess with jobs that don't have a fuzzer.

jonathanmetzman avatar May 04 '23 19:05 jonathanmetzman

Ah yes. I can make this fix while adding the support for using a sanitized binary only.

DonggeLiu avatar May 05 '23 10:05 DonggeLiu

Is it a good idea to always download binaries to the sanitized binary directory? This is more consistent with the current design and automatically solves this issue.

DonggeLiu avatar May 06 '23 05:05 DonggeLiu