Skip to content

flaky unit test: qmltestrunner::ButeoSyncFWTestCase::cleanupTestCase()

In ~ 1 out of 5 builds I see the below test failure...

1/1 Test #1: buteo_syncfw_component ...........***Failed    6.81 sec
DBus daemon: unix:path=/tmp/dbus-cZU1OpmUw0,guid=b56a967726d4027c1a6c6a3e66520338
buteo-syncfw          : Started with PID: 1366946
buteo_syncfw_component: Started with PID: 1366958
buteo_syncfw_component: ********* Start testing of qmltestrunner *********
buteo_syncfw_component: Config: Using QtTest library 5.15.13, Qt 5.15.13 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), debian unknown
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::initTestCase()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_abort_sync()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_start_sync()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_sync_by_category()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_sync_by_profile_by_category()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_syncing_property()
buteo_syncfw_component: PASS   : qmltestrunner::ButeoSyncFWTestCase::test_visibleSyncProfiles_property()
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo-syncfw          : syncProfilesByKey: use_accounts true
buteo_syncfw_component: FAIL!  : qmltestrunner::ButeoSyncFWTestCase::cleanupTestCase() property count
buteo_syncfw_component:    Actual   (): 2
buteo_syncfw_component:    Expected (): 1
buteo_syncfw_component:    Loc: [/<<PKGBUILDDIR>>/tests/qml/tst_ButeoSyncFW.qml(64)]
buteo_syncfw_component: Totals: 7 passed, 1 failed, 0 skipped, 0 blacklisted, 6750ms
buteo_syncfw_component: ********* Finished testing of qmltestrunner *********
buteo_syncfw_component: Exited with status 256
buteo-syncfw: Shutting down
buteo_syncfw_component: Shutting down
DBus daemon: Shutdown