Bug 419629 - libkgapi fails contactfetchjobtest with Qt 5.15.0-beta2
Summary: libkgapi fails contactfetchjobtest with Qt 5.15.0-beta2
Status: RESOLVED FIXED
Alias: None
Product: libkgapi
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 5.13.80
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 11:15 UTC by Heiko Becker
Modified: 2020-09-08 14:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2020-04-04 11:15:15 UTC
libkgapi fails one test with Qt 5.15.0-beta2. I don't remember it failing before and it doesn't fail on another machine with 5.14.2:

8: Test command: /var/tmp/paludis/build/app-pim-libkgapi-20.03.90/work/build/bin/contactfetchjobtest
8: Environment variables: 
8:  QT_PLUGIN_PATH=/var/tmp/paludis/build/app-pim-libkgapi-20.03.90/work/build/bin:/usr/host/lib/qt5/plugins
8: Test timeout computed to be: 10000000
8: QStandardPaths: wrong permissions on runtime directory /var/tmp/paludis/build/app-pim-libkgapi-20.03.90/temp/, 7755 instead of 7700
8: ********* Start testing of ContactFetchJobTest *********
8: Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.0.1 20200322 (experimental))
8: PASS   : ContactFetchJobTest::initTestCase()
sydbox: 8< -- Access Violation! --
sydbox: connect(-1, unix:/run/dbus/system_bus_socket)
sydbox: proc: QDBusConnection[800313] (parent:800259)
sydbox: cwd: `/var/tmp/paludis/build/app-pim-libkgapi-20.03.90/work/build/autotests'
sydbox: cmdline: `/var/tmp/paludis/build/app-pim-libkgapi-20.03.90/work/build/bin/contactfetchjob'
sydbox: >8 --
8: PASS   : ContactFetchJobTest::testFetchAll()
8: FAIL!  : ContactFetchJobTest::testFetchSingle() Compared values are not the same
8:    Loc: [/var/tmp/paludis/build/app-pim-libkgapi-20.03.90/work/libkgapi-20.03.90/autotests/contacts/contactfetchjobtest.cpp(91)]
8: PASS   : ContactFetchJobTest::cleanupTestCase()
8: Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 5ms
8: ********* Finished testing of ContactFetchJobTest *********
 8/48 Test  #8: contacts-contactfetchjobtest ..........***Failed    0.04 sec

SOFTWARE/OS VERSIONS
libkgapi Version: 20.03.90
KDE Frameworks Version: 5.68.0
Qt Version: 5.15.0-beta2
Comment 1 Bug Janitor Service 2020-09-08 13:55:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/libkgapi/-/merge_requests/11
Comment 2 David Barchiesi 2020-09-08 14:42:08 UTC
Git commit 570c0fd731af9ca4cead249d1db6133acc21f7c1 by David Barchiesi.
Committed on 08/09/2020 at 13:48.
Pushed by barchiesi into branch 'master'.

Remove duplicate "gContact$groupMembershipInfo" value in mock fetch response.

M  +0    -6    autotests/contacts/data/contact1_fetch_response.txt

https://invent.kde.org/pim/libkgapi/commit/570c0fd731af9ca4cead249d1db6133acc21f7c1