[all-commits] [llvm/llvm-project] bb90e2: [libfuzzer] Fix -runs=X flaky test (fuzzer-finalst...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Tue Jul 9 02:24:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb90e2ed873e535be937d1fdad36d61a4af3dc0e
      https://github.com/llvm/llvm-project/commit/bb90e2ed873e535be937d1fdad36d61a4af3dc0e
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/test/fuzzer/fuzzer-finalstats.test

  Log Message:
  -----------
  [libfuzzer] Fix -runs=X flaky test (fuzzer-finalstats.test) (#96914)

Disables LSan in order to remove a 1% flake rate in this test.
There's some logic in LeakSanitizer and its integration into libFuzzer
that will disable LSan and re-run the input. This only happens when more
malloc()s are detected than free()s. Under high system load, this
appears to be possible as the "more mallocs than frees" is dependent on
walltime. In these instances, the number of runs ends up being `n + 1`,
which is undesirable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list