22.04 Test failure account-storage-object-lifecycles
This is happening on Alpine Linux. Seems to be a race failure, it only sometimes fails.
27/39 Test #27: account-storage-object-lifecycles .............Subprocess aborted***Exception: 1.27 sec
********* Start testing of StorageLifeCyclesTest *********
Config: Using QtTest library 5.15.3, Qt 5.15.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.1 20220117), alpine 3.16.0_alpha20220328
PASS : StorageLifeCyclesTest::initTestCase()
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Requesting 'existing' password for accounts
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Successfully unlocked storage
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Successfully derived key for storage
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Loading accounts from storage
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Found valid HOTP account: QUuid("{072a645d-6c26-57cc-81eb-d9ef3b9b39e2}")
QINFO : StorageLifeCyclesTest::testLifecycle() org.kde.keysmith.accounts.actions: Deleting accounts
FAIL! : StorageLifeCyclesTest::testLifecycle() 'test::signal_eventually_emitted_once(accountRemoved)' returned FALSE. (sample account should be removed from storage by now)
Loc: [/builds/alpine/aports/community/keysmith/src/keysmith-22.04/autotests/account/storage/storage-object-lifecycles.cpp(147)]
PASS : StorageLifeCyclesTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 837ms
********* Finished testing of StorageLifeCyclesTest *********
QThread: Destroyed while thread is still running
Start 28: account-storage-hotp-counter-update
28/39 Test #28: account-storage-hotp-counter-update ...........Subprocess aborted***Exception: 1.04 sec
********* Start testing of HotpCounterUpdateTest *********
Config: Using QtTest library 5.15.3, Qt 5.15.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.1 20220117), alpine 3.16.0_alpha20220328
PASS : HotpCounterUpdateTest::initTestCase()
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Requesting 'existing' password for accounts
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Successfully unlocked storage
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Successfully derived key for storage
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Loading accounts from storage
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Found valid HOTP account: QUuid("{072a645d-6c26-57cc-81eb-d9ef3b9b39e2}")
QINFO : HotpCounterUpdateTest::testCounterUpdate() org.kde.keysmith.accounts.actions: Saving HOTP account: QUuid("{072a645d-6c26-57cc-81eb-d9ef3b9b39e2}")
FAIL! : HotpCounterUpdateTest::testCounterUpdate() 'test::signal_eventually_emitted_once(sampleAccountUpdated)' returned FALSE. (sample account should be updated in storage by now)
Loc: [/builds/alpine/aports/community/keysmith/src/keysmith-22.04/autotests/account/storage/hotp-counter-update.cpp(136)]
PASS : HotpCounterUpdateTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 710ms
********* Finished testing of HotpCounterUpdateTest *********
QThread: Destroyed while thread is still running
Edited by Bart Ribbers