ci: Exclude failing wallet_reorgsrestore.py from valgrind task for now #32507

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2505-ci-valgrind changing 1 files +5 −1
  1. maflcko commented at 10:59 AM on May 15, 2025: member

    Fixes #32493

    For some reason terminate or kill do not work inside the CI system under valgrind.

    So disable the test for now, until a solution is found.

  2. ci: Exclude failing wallet_reorgsrestore.py from valgrind task for now fa981b90f5
  3. DrahtBot commented at 10:59 AM on May 15, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32507.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK fanquake, mzumsande

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. DrahtBot added the label Tests on May 15, 2025
  5. fanquake approved
  6. fanquake commented at 11:20 AM on May 15, 2025: member

    ACK fa981b90f53101bff2eda606d9479233e71736b5

  7. furszy commented at 2:26 PM on May 15, 2025: member

    What if instead of excluding the entire test file, we only exclude the specific failing test case?

    diff --git a/test/functional/wallet_reorgsrestore.py b/test/functional/wallet_reorgsrestore.py
    --- a/test/functional/wallet_reorgsrestore.py	(revision 8d5a11f34157934d9aecf8d5535ec3c17b13fcf3)
    +++ b/test/functional/wallet_reorgsrestore.py	(date 1747319065527)
    @@ -14,6 +14,7 @@
     """
     
     from decimal import Decimal
    +import os
     import shutil
     
     from test_framework.test_framework import BitcoinTestFramework
    @@ -90,6 +91,12 @@
             assert_equal(wallet0.gettransaction(descendant_tx_id)['details'][0]['abandoned'], True)
     
         def test_reorg_handling_during_unclean_shutdown(self):
    +        # FIXME: skip test during CI run for now.
    +        if os.environ.get('TESTS_CI_RUN'):
    +            self.log.info("Skipping wallet reorg handling during shutdown test")
    +            return
    +
    +
             self.log.info("Test that wallet doesn't crash due to a duplicate block disconnection event after an unclean shutdown")
             node = self.nodes[0]
             # Receive coinbase reward on a new wallet
    Index: test/functional/test_runner.py
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
    --- a/test/functional/test_runner.py	(revision 8d5a11f34157934d9aecf8d5535ec3c17b13fcf3)
    +++ b/test/functional/test_runner.py	(date 1747318824956)
    @@ -401,6 +401,7 @@
     
         args, unknown_args = parser.parse_known_args()
         fail_on_warn = args.ci
    +    os.environ['TESTS_CI_RUN'] = args.ci
         if not args.ansi:
             global DEFAULT, BOLD, GREEN, RED
             DEFAULT = ("", "")
    
  8. mzumsande commented at 2:27 PM on May 15, 2025: contributor

    utACK fa981b90f53101bff2eda606d9479233e71736b5

  9. maflcko commented at 2:38 PM on May 15, 2025: member

    What if instead of excluding the entire test file, we only exclude the specific failing test case?

    Your diff would exclude the test case for all CI runs (even CI runs not using valgrind). I think longer term it would be better to just fix it.

  10. furszy commented at 3:06 PM on May 15, 2025: member

    What if instead of excluding the entire test file, we only exclude the specific failing test case?

    Your diff would exclude the test case for all CI runs (even CI runs not using valgrind).

    That would be easy to fix by just providing another environment variable for Valgrind runs. But np, it was just an idea to keep the test running while the issue is being investigated.

    I think longer term it would be better to just fix it.

    Hard to disagree.

  11. fanquake merged this on May 15, 2025
  12. fanquake closed this on May 15, 2025

  13. maflcko deleted the branch on May 15, 2025
  14. stickies-v referenced this in commit 772a33e052 on May 23, 2025
  15. sedited referenced this in commit cb3cd9b8b9 on May 29, 2025
  16. yuvicc referenced this in commit 069643f094 on Jul 6, 2025
  17. bug-castercv502 referenced this in commit 2858098810 on Sep 28, 2025
  18. Kino1994 referenced this in commit 70766844c8 on Jun 28, 2026
  19. BigcoinBGC referenced this in commit 948a86a685 on Jun 30, 2026
  20. bitcoin locked this on Jul 30, 2026

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-08-04 00:51 UTC

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