intermittent issue in qt addressBookTests: (table_view->model()->rowCount()): [3 != 2] Loc: [./qt/test/addressbooktests.cpp(183)] #32558

issue maflcko opened this issue on May 19, 2025
  1. maflcko commented at 8:09 AM on May 19, 2025: member

    Seen on the test-each-commit task, as well as on task CentOS, depends, gui: https://github.com/bitcoin/bitcoin/runs/42411027184

    [12:40:35.901] ********* Finished testing of WalletTests *********
    [12:40:35.901] ********* Start testing of AddressBookTests *********
    [12:40:35.901] Config: Using QtTest library 6.7.3, Qt 6.7.3 (x86_64-little_endian-lp64 static debug build; by GCC 14.2.1 20250110 (Red Hat 14.2.1-7)), centos 10
    [12:40:35.901] PASS   : AddressBookTests::initTestCase()
    [12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() NotifyUnload
    [12:40:35.901] QWARN  : AddressBookTests::addressBookTests() This plugin does not support propagateSizeHints()
    [12:40:35.901] QWARN  : AddressBookTests::addressBookTests() This plugin does not support propagateSizeHints()
    [12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() "NotifyAddressBookChanged: mkieDLrWmjiDrEDWBgxq7t1xxi14e7qTzm io - new A isMine=0 purpose=1 status=0"
    [12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() "NotifyAddressBookChanged: mkkDYQjsyP55d1WLRnpBh7nqiiLSx5ae8s io - new B isMine=0 purpose=1 status=0"
    [12:40:35.901] FAIL!  : AddressBookTests::addressBookTests() Compared values are not the same
    [12:40:35.901]    Actual   (table_view->model()->rowCount()): 3
    [12:40:35.901]    Expected (2)                              : 2
    [12:40:35.901]    Loc: [./qt/test/addressbooktests.cpp(183)]
    [12:40:35.901] PASS   : AddressBookTests::cleanupTestCase()
    [12:40:35.901] Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 902ms
    [12:40:35.901] ********* Finished testing of AddressBookTests *********
    [12:40:35.901] 
    [12:40:35.901] Failed tests: 1
    [12:40:35.901] 
    [12:40:35.901] ~InitExecutor : Stopping thread
    [12:40:35.901] ~InitExecutor : Stopped thread
    [12:40:35.901] 
    [12:40:36.353]  30/142 Test   [#1](/bitcoin-bitcoin/1/): util_test_runner .....................   Passed    3.84 sec
    [12:40:36.367]  31/142 Test  [#37](/bitcoin-bitcoin/37/): compress_tests .......................   Passed    1.07 sec
    [12:40:37.668]  32/142 Test  [#38](/bitcoin-bitcoin/38/): crypto_tests .........................   Passed    1.83 sec
    [12:40:45.350]  33/142 Test   [#7](/bitcoin-bitcoin/7/): secp256k1_exhaustive_tests ...........   Passed   12.82 sec
    [12:40:56.105]  34/142 Test   [#5](/bitcoin-bitcoin/5/): secp256k1_noverify_tests .............   Passed   23.58 sec
    [12:41:00.424]  35/142 Test  [#30](/bitcoin-bitcoin/30/): checkqueue_tests .....................   Passed   25.66 sec
    [12:41:04.282]  36/142 Test  [#32](/bitcoin-bitcoin/32/): coins_tests ..........................   Passed   29.38 sec
    [12:41:30.183]  37/142 Test   [#6](/bitcoin-bitcoin/6/): secp256k1_tests ......................   Passed   57.66 sec
    [12:42:26.879]  38/142 Test   [#9](/bitcoin-bitcoin/9/): bench_sanity_check ...................   Passed  114.34 sec
    [12:42:26.881] 
    [12:42:26.881] 97% tests passed, 1 tests failed out of 38
    [12:42:26.881] 
    [12:42:26.881] Total Test time (real) = 114.37 sec
    [12:42:26.881] 
    [12:42:26.881] The following tests FAILED:
    [12:42:26.884] 	  8 - test_bitcoin-qt (Failed)
    [12:42:26.884] Errors while running CTest
    [12:42:26.948] 
    [12:42:26.948] Exit status: 8
    

    Originally posted by @DrahtBot in #32544 (comment)

  2. maflcko added the label GUI on May 19, 2025
  3. maflcko added the label CI failed on May 19, 2025
  4. hebasto commented at 8:55 AM on May 19, 2025: member
  5. fanquake commented at 10:31 AM on May 19, 2025: member
  6. maflcko commented at 11:44 AM on May 19, 2025: member

    A duplicate of bitcoin-core/gui#874?

    Haven't seen it, and created it here, because GUI CI failures affect this repo as well. Feel free to close, though.

    I can't reproduce this locally, so maybe printing the rows on failure could help to debug this further via CI?

  7. fanquake commented at 11:47 AM on May 19, 2025: member

    I'd say leave it here, given it doesn't look like anyone is following up, or debugging, in the GUI repo.

  8. maflcko commented at 12:36 PM on May 19, 2025: member

    (created fix)

  9. hebasto closed this on May 19, 2025

  10. hebasto referenced this in commit 7054d24f11 on May 19, 2025
  11. Kino1994 referenced this in commit c8f1f87946 on Jun 28, 2026
  12. BigcoinBGC referenced this in commit d4cf03cb55 on Jun 30, 2026
  13. 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-19 11:51 UTC

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