Bug 468296 - 5.105.0: test suite is failing in one unit
Summary: 5.105.0: test suite is failing in one unit
Status: REPORTED
Alias: None
Product: frameworks-kpeople
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.105.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 16:31 UTC by kloczek
Modified: 2023-07-25 11:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2023-04-08 16:31:29 UTC
Looks like test suite is failing in one unit

+ cd kpeople-5.105.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/kpeople-5.105.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/kpeople-5.105.0/x86_64-redhat-linux-gnu
    Start 1: persondatatest
    Start 2: personsmodeltest
    Start 3: personsproxymodeltest
1/3 Test #1: persondatatest ...................   Passed    0.02 sec
2/3 Test #3: personsproxymodeltest ............   Passed    0.03 sec
3/3 Test #2: personsmodeltest .................Subprocess aborted***Exception:  15.26 sec
********* Start testing of PersonsModelTest *********
Config: Using QtTest library 5.15.8, Qt 5.15.8 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.0.1 20230324 (Red Hat 13.0.1-0)), fedora 39
PASS   : PersonsModelTest::initTestCase()
PASS   : PersonsModelTest::loadModel()
FAIL!  : PersonsModelTest::mergeContacts() Compared values are not the same
   Actual   (((m_model->rowCount()))): 4
   Expected (3)                      : 3
   Loc: [/home/tkloczko/rpmbuild/BUILD/kpeople-5.105.0/autotests/personsmodeltest.cpp(77)]
QFATAL : PersonsModelTest::gettersTests() ASSERT: "!isEmpty()" in file /usr/include/qt5/QtCore/qlist.h, line 361
FAIL!  : PersonsModelTest::gettersTests() Received a fatal error.
   Loc: [Unknown file(0)]
Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 15124ms
********* Finished testing of PersonsModelTest *********


67% tests passed, 1 tests failed out of 3

Total Test time (real) =  15.26 sec

The following tests FAILED:
          2 - personsmodeltest (Subprocess aborted)
Errors while running CTest
Comment 1 Andreas Sturmlechner 2023-07-25 11:19:17 UTC
Also happens with Gentoo here. https://bugs.gentoo.org/816588
Comment 2 Andreas Sturmlechner 2023-07-25 11:23:16 UTC
For some reason only works if run with virtx.