Skip to content

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

@maflcko

Description

@maflcko

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: util_test_runner .....................   Passed    3.84 sec
[12:40:36.367]  31/142 Test  #37: compress_tests .......................   Passed    1.07 sec
[12:40:37.668]  32/142 Test  #38: crypto_tests .........................   Passed    1.83 sec
[12:40:45.350]  33/142 Test   #7: secp256k1_exhaustive_tests ...........   Passed   12.82 sec
[12:40:56.105]  34/142 Test   #5: secp256k1_noverify_tests .............   Passed   23.58 sec
[12:41:00.424]  35/142 Test  #30: checkqueue_tests .....................   Passed   25.66 sec
[12:41:04.282]  36/142 Test  #32: coins_tests ..........................   Passed   29.38 sec
[12:41:30.183]  37/142 Test   #6: secp256k1_tests ......................   Passed   57.66 sec
[12:42:26.879]  38/142 Test   #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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions