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

issue maflcko openend 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

     0[12:40:35.901] ********* Finished testing of WalletTests *********
     1[12:40:35.901] ********* Start testing of AddressBookTests *********
     2[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
     3[12:40:35.901] PASS   : AddressBookTests::initTestCase()
     4[12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() NotifyUnload
     5[12:40:35.901] QWARN  : AddressBookTests::addressBookTests() This plugin does not support propagateSizeHints()
     6[12:40:35.901] QWARN  : AddressBookTests::addressBookTests() This plugin does not support propagateSizeHints()
     7[12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() "NotifyAddressBookChanged: mkieDLrWmjiDrEDWBgxq7t1xxi14e7qTzm io - new A isMine=0 purpose=1 status=0"
     8[12:40:35.901] QDEBUG : AddressBookTests::addressBookTests() "NotifyAddressBookChanged: mkkDYQjsyP55d1WLRnpBh7nqiiLSx5ae8s io - new B isMine=0 purpose=1 status=0"
     9[12:40:35.901] FAIL!  : AddressBookTests::addressBookTests() Compared values are not the same
    10[12:40:35.901]    Actual   (table_view->model()->rowCount()): 3
    11[12:40:35.901]    Expected (2)                              : 2
    12[12:40:35.901]    Loc: [./qt/test/addressbooktests.cpp(183)]
    13[12:40:35.901] PASS   : AddressBookTests::cleanupTestCase()
    14[12:40:35.901] Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 902ms
    15[12:40:35.901] ********* Finished testing of AddressBookTests *********
    16[12:40:35.901] 
    17[12:40:35.901] Failed tests: 1
    18[12:40:35.901] 
    19[12:40:35.901] ~InitExecutor : Stopping thread
    20[12:40:35.901] ~InitExecutor : Stopped thread
    21[12:40:35.901] 
    22[12:40:36.353]  30/142 Test   [#1](/bitcoin-bitcoin/1/): util_test_runner .....................   Passed    3.84 sec
    23[12:40:36.367]  31/142 Test  [#37](/bitcoin-bitcoin/37/): compress_tests .......................   Passed    1.07 sec
    24[12:40:37.668]  32/142 Test  [#38](/bitcoin-bitcoin/38/): crypto_tests .........................   Passed    1.83 sec
    25[12:40:45.350]  33/142 Test   [#7](/bitcoin-bitcoin/7/): secp256k1_exhaustive_tests ...........   Passed   12.82 sec
    26[12:40:56.105]  34/142 Test   [#5](/bitcoin-bitcoin/5/): secp256k1_noverify_tests .............   Passed   23.58 sec
    27[12:41:00.424]  35/142 Test  [#30](/bitcoin-bitcoin/30/): checkqueue_tests .....................   Passed   25.66 sec
    28[12:41:04.282]  36/142 Test  [#32](/bitcoin-bitcoin/32/): coins_tests ..........................   Passed   29.38 sec
    29[12:41:30.183]  37/142 Test   [#6](/bitcoin-bitcoin/6/): secp256k1_tests ......................   Passed   57.66 sec
    30[12:42:26.879]  38/142 Test   [#9](/bitcoin-bitcoin/9/): bench_sanity_check ...................   Passed  114.34 sec
    31[12:42:26.881] 
    32[12:42:26.881] 97% tests passed, 1 tests failed out of 38
    33[12:42:26.881] 
    34[12:42:26.881] Total Test time (real) = 114.37 sec
    35[12:42:26.881] 
    36[12:42:26.881] The following tests FAILED:
    37[12:42:26.884] 	  8 - test_bitcoin-qt (Failed)
    38[12:42:26.884] Errors while running CTest
    39[12:42:26.948] 
    40[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

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: 2025-05-20 03:12 UTC

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