Constant-time tests on macOS #1151

issue sipa openend this issue on November 14, 2022
  1. sipa commented at 10:43 pm on November 14, 2022: contributor
  2. sipa cross-referenced this on Nov 17, 2022 from issue Update macOS image for CI by sipa
  3. MarcoFalke commented at 11:40 am on November 29, 2022: none
    Is this fixed now?
  4. real-or-random commented at 12:56 pm on November 29, 2022: contributor

    from #1152:

    It drops valgrind and the ctime tests on macOS, as valgrind simply isn’t supported anymore there. We may recover some of that functionality by adding MSan (https://github.com/bitcoin-core/secp256k1/pull/1155) for memory-checking there, and adding ctime-using-mtime (TODO).

    I think we should leave it open until this has been fixed.

    • Enable MSan for MacOS
    • Make the constant-time tests work on MSan
  5. real-or-random renamed this:
    Cirrus CI sunsetting x86-based macOS support
    Constant-time tests with MSan / for MacOS
    on Dec 5, 2022
  6. real-or-random added the label assurance on Jan 5, 2023
  7. real-or-random commented at 1:51 pm on January 11, 2023: contributor
    Oh, the valgrind fork now works on Ventura https://github.com/LouisBrunner/valgrind-macos/issues/54#issuecomment-1377334552 (except for memory leak tracking, which is still WIP but that shouldn’t be required for our purposes.) So we should probably revert https://github.com/bitcoin-core/secp256k1/pull/1152/commits/c0ae48c9950a908b637bff27791fabbe2833c4a5 partly.
  8. real-or-random cross-referenced this on Apr 12, 2023 from issue test: Silent noisy clang warnings about Valgrind code on macOS x86_64 by hebasto
  9. hebasto commented at 10:18 am on June 5, 2023: member
    • Enable MSan for MacOS

    https://clang.llvm.org/docs/MemorySanitizer.html#supported-platforms:

    MemorySanitizer is supported on the following OS:

    • Linux
    • NetBSD
    • FreeBSD
  10. real-or-random commented at 11:09 am on June 11, 2023: contributor

    Oh indeed, MSan doesn’t work on macOS…

    • Make the constant-time tests work on MSan

    And this has been solved by #1169.

    This means that there’s nothing to do for us here except to wait for https://github.com/LouisBrunner/valgrind-macos/issues/56. This will make it possible to run Valgrind on macOS again.

    Leaving this open to track this.

  11. real-or-random renamed this:
    Constant-time tests with MSan / for MacOS
    Constant-time tests on macOS
    on Jun 11, 2023
  12. real-or-random cross-referenced this on Aug 16, 2023 from issue ci: Future of CI after Cirrus pricing change by real-or-random
  13. real-or-random added the label ci on Aug 28, 2023
  14. real-or-random cross-referenced this on Aug 28, 2023 from issue ci: Switch macOS from Ventura to Monterey and add Valgrind by hebasto
  15. real-or-random referenced this in commit 65c79fe2d0 on Aug 29, 2023
  16. real-or-random closed this on Aug 29, 2023


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-03 16:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me