Skip to content

tests: ubsan coinjoin_tests.cpp is flakey #6696

@PastaPastaPasta

Description

@PastaPastaPasta

see https://github.com/DashCoreAutoGuix/dash/actions/runs/15356297417/job/43219815000

wallet/test/coinjoin_tests.cpp(300): error: in "coinjoin_tests/CTransactionBuilderTest": check txBuilder.Commit(strResult) has failed
2025-05-31T02:43:56.895014Z (mocktime: 2020-08-31T15:34:12Z) [      test] [stacktraces.cpp:529] [PrintCrashInfo] Assertion failure:
  assertion: it != wallet->mapWallet.end()
  file: wallet/test/coinjoin_tests.cpp, line: 171
  function: CWalletTx &coinjoin_tests::CTransactionBuilderTestSetup::AddTxToChain(uint256)
   0#: (0x55844BD0A13E) stacktraces.cpp:656        - __wrap___assert_fail
   1#: (0x55844AFF6A22) coinjoin_tests.cpp:171     - AddTxToChain
   2#: (0x55844AFF1E71) coinjoin_tests.cpp:301     - test_method
   3#: (0x55844AFEDE35) coinjoin_tests.cpp:230     - CTransactionBuilderTest_invoker
   4#: (0x55844A6881B8) function_template.hpp:137  - invoke
   5#: (0x55844A5D5E6D) execution_monitor.ipp      - catch_signals
   6#: (0x55844A5D60DC) execution_monitor.ipp:1379 - execute
   7#: (0x55844A5CB8A4) function_template.hpp:870  - clear
   8#: (0x55844A5CB8A4) function_template.hpp:756  - ~function0
   9#: (0x55844A5CB8A4) execution_monitor.ipp:1397 - vexecute
  10#: (0x55844A5D053C) unit_test_monitor.ipp:69   - execute_and_translate
  11#: (0x55844A61083E) framework.ipp              - execute_test_tree
  12#: (0x55844A60FAFF) framework.ipp:784          - execute_test_tree
  13#: (0x55844A60FAFF) framework.ipp:784          - execute_test_tree
  14#: (0x55844A5CEF80) framework.ipp:1602         - ~swap_on_delete
  15#: (0x55844A5CEF80) framework.ipp:1725         - run
  16#: (0x55844A5EE595) basic_string.h:228         - _M_data
  17#: (0x55844A5EE595) basic_string.h:2641        - c_str
  18#: (0x55844A5EE595) basic_cstring.hpp:236      - basic_cstring
  19#: (0x55844A5EE595) unit_test_main.ipp:252     - unit_test_main
Assertion failure:
  assertion: it != wallet->mapWallet.end()
  file: wallet/test/coinjoin_tests.cpp, line: 171
  function: CWalletTx &coinjoin_tests::CTransactionBuilderTestSetup::AddTxToChain(uint256)
   0#: (0x55844BD0A13E) stacktraces.cpp:656        - __wrap___assert_fail
   1#: (0x55844AFF6A22) coinjoin_tests.cpp:171     - AddTxToChain
   2#: (0x55844AFF1E71) coinjoin_tests.cpp:301     - test_method
   3#: (0x55844AFEDE35) coinjoin_tests.cpp:230     - CTransactionBuilderTest_invoker
   4#: (0x55844A6881B8) function_template.hpp:137  - invoke
   5#: (0x55844A5D5E6D) execution_monitor.ipp      - catch_signals
   6#: (0x55844A5D60DC) execution_monitor.ipp:1379 - execute
   7#: (0x55844A5CB8A4) function_template.hpp:870  - clear
   8#: (0x55844A5CB8A4) function_template.hpp:756  - ~function0
   9#: (0x55844A5CB8A4) execution_monitor.ipp:1397 - vexecute
  10#: (0x55844A5D053C) unit_test_monitor.ipp:69   - execute_and_translate
  11#: (0x55844A61083E) framework.ipp              - execute_test_tree
  12#: (0x55844A60FAFF) framework.ipp:784          - execute_test_tree
  13#: (0x55844A60FAFF) framework.ipp:784          - execute_test_tree
  14#: (0x55844A5CEF80) framework.ipp:1602         - ~swap_on_delete
  15#: (0x55844A5CEF80) framework.ipp:1725         - run
  16#: (0x55844A5EE595) basic_string.h:228         - _M_data
  17#: (0x55844A5EE595) basic_string.h:2641        - c_str
  18#: (0x55844A5EE595) basic_cstring.hpp:236      - basic_cstring
  19#: (0x55844A5EE595) unit_test_main.ipp:252     - unit_test_main
test_dash: wallet/test/coinjoin_tests.cpp:171: CWalletTx &coinjoin_tests::CTransactionBuilderTestSetup::AddTxToChain(uint256): Assertion `it != wallet->mapWallet.end()' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions