test: Add race:SendZmqMessage tsan suppression #20748

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2012-ciSuppZmq changing 1 files +11 −0
  1. MarcoFalke commented at 6:17 PM on December 22, 2020: member

    Add suppression for race:SendZmqMessage, which isn't covered by the existing zmq::* suppression

    Fixes #20618

  2. MarcoFalke force-pushed on Dec 22, 2020
  3. in test/sanitizer_suppressions/tsan:28 in fa1d34993f outdated
      24 | @@ -25,8 +25,8 @@ race:WalletBatch::WriteHDChain
      25 |  race:BerkeleyBatch
      26 |  race:BerkeleyDatabase
      27 |  race:DatabaseBatch
      28 | +race:SendZmqMessage
    


    hebasto commented at 6:38 PM on December 22, 2020:

    Looking at the log, I'd suggest to be more specific:

    race:CZMQAbstractPublishNotifier::SendZmqMessage
    

    MarcoFalke commented at 7:13 PM on December 22, 2020:

    Thanks, done

  4. hebasto approved
  5. hebasto commented at 6:40 PM on December 22, 2020: member

    ACK fa1d34993f345b2e799baf53174dd258d91f4db1, I have reviewed the code and it looks OK, I agree it can be merged.

  6. DrahtBot added the label Tests on Dec 22, 2020
  7. MarcoFalke force-pushed on Dec 22, 2020
  8. hebasto approved
  9. hebasto commented at 7:17 PM on December 22, 2020: member

    re-ACK fa867daff99bbb2fa2e511f18cac7138e0bd5145

  10. test: Add race:SendZmqMessage tsan suppression fa957f8dc9
  11. MarcoFalke force-pushed on Dec 22, 2020
  12. MarcoFalke commented at 9:00 PM on December 22, 2020: member

    restored the zmq::* one because it was working and needed

  13. hebasto commented at 10:29 AM on December 23, 2020: member

    restored the zmq::* one because it was working and needed

    Some related discussions:

    From the log it seems possible to replace race:zmq::* with

    race:zmq::encoder_base_t
    race:zmq::ypipe_t
    

    And one more question: if race:zmq::* does almost all zmq-related job, what is the reason to have race:libzmq?

  14. hebasto commented at 10:30 AM on December 23, 2020: member

    re-ACK fa957f8dc9990e4479e4d2af46a63ceae89cd39b, as my previous comment is not directly related to this pull changes.

  15. MarcoFalke commented at 11:31 AM on December 23, 2020: member

    And one more question: if race:zmq::* does almost all zmq-related job, what is the reason to have race:libzmq?

    Maybe it was needed when we still used the libzmq3-dev apt package, and not depends?

  16. MarcoFalke merged this on Dec 23, 2020
  17. MarcoFalke closed this on Dec 23, 2020

  18. MarcoFalke deleted the branch on Dec 23, 2020
  19. sidhujag referenced this in commit e61f260ecb on Dec 23, 2020
  20. Fabcien referenced this in commit 38f199ef7c on Oct 13, 2021
  21. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:14 UTC

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