[cifuzz] Don't use jobs with MSAN. (#11922)

It causes false positives.

Related: https://github.com/google/oss-fuzz/issues/11915
This commit is contained in:
jonathanmetzman 2024-05-08 10:29:11 -04:00 committed by GitHub
parent 9dce1daeb4
commit 0091ba33c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -190,7 +190,12 @@ class FuzzTarget: # pylint: disable=too-many-instance-attributes
options.arguments.extend(LIBFUZZER_OPTIONS_NO_REPORT_OOM)
if self.config.parallel_fuzzing:
options.arguments.extend(get_libfuzzer_parallel_options())
if self.config.sanitizer == 'memory':
# TODO(https://github.com/google/oss-fuzz/issues/11915): Don't gate
# this after jobs is fixed for MSAN.
logging.info('Not using jobs because it breaks MSAN.')
else:
options.arguments.extend(get_libfuzzer_parallel_options())
result = engine_impl.fuzz(self.target_path, options, artifacts_dir,
self.duration)