Bug 488635 - 6.3.0: test suite fails in two units
Summary: 6.3.0: test suite fails in two units
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kservice
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.3.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-17 20:17 UTC by kloczek
Modified: 2024-06-20 20:40 UTC (History)
2 users (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 2024-06-17 20:17:14 UTC
cmake -L output

-- Cache values
APPSTREAMCLI:FILEPATH=APPSTREAMCLI-NOTFOUND
BUILD_COVERAGE:BOOL=OFF
BUILD_QCH:BOOL=ON
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
BUILD_WITH_QT6:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
ECM_DIR:PATH=/usr/share/ECM/cmake
EXCLUDE_DEPRECATED_BEFORE_AND_AT:STRING=0
FISH_EXECUTABLE:FILEPATH=FISH_EXECUTABLE-NOTFOUND
GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=/usr/bin/msgfmt
GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=/usr/bin/msgmerge
KDE_CHECK_JSONSCHEMA_EXECUTABLE:FILEPATH=KDE_CHECK_JSONSCHEMA_EXECUTABLE-NOTFOUND
KDE_CLANG_FORMAT_EXECUTABLE:FILEPATH=/usr/bin/clang-format
KDE_INSTALL_PREFIX_SCRIPT:BOOL=OFF
KDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON
KDE_SKIP_UNINSTALL_TARGET:BOOL=OFF
KDOCTOOLS_SERIALIZE_TOOL:STRING=
KF6Config_DIR:PATH=/usr/lib64/cmake/KF6Config
KF6CoreAddons_DIR:PATH=/usr/lib64/cmake/KF6CoreAddons
KF6DocTools_DIR:PATH=/usr/lib64/cmake/KF6DocTools
KF6I18n_DIR:PATH=/usr/lib64/cmake/KF6I18n
KF_IGNORE_PLATFORM_CHECK:BOOL=OFF
KF_SKIP_PO_PROCESSING:BOOL=OFF
KI18N_PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3
QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH:STRING=
QT_ADDITIONAL_PACKAGES_PREFIX_PATH:STRING=
QUERY_EXECUTABLE:FILEPATH=/usr/bin/qtpaths
Qt6Concurrent_DIR:PATH=/usr/lib64/cmake/Qt6Concurrent
Qt6CoreTools_DIR:PATH=/usr/lib64/cmake/Qt6CoreTools
Qt6Core_DIR:PATH=/usr/lib64/cmake/Qt6Core
Qt6DBusTools_DIR:PATH=/usr/lib64/cmake/Qt6DBusTools
Qt6DBus_DIR:PATH=/usr/lib64/cmake/Qt6DBus
Qt6Network_DIR:PATH=/usr/lib64/cmake/Qt6Network
Qt6QmlBuiltins_DIR:PATH=/usr/lib64/cmake/Qt6QmlBuiltins
Qt6QmlCompilerPlusPrivate_DIR:PATH=Qt6QmlCompilerPlusPrivate_DIR-NOTFOUND
Qt6QmlIntegration_DIR:PATH=/usr/lib64/cmake/Qt6QmlIntegration
Qt6QmlTools_DIR:PATH=/usr/lib64/cmake/Qt6QmlTools
Qt6Qml_DIR:PATH=/usr/lib64/cmake/Qt6Qml
Qt6Test_DIR:PATH=/usr/lib64/cmake/Qt6Test
Qt6ToolsTools_DIR:PATH=/usr/lib64/cmake/Qt6ToolsTools
Qt6Xml_DIR:PATH=/usr/lib64/cmake/Qt6Xml
Qt6_DIR:PATH=/usr/lib64/cmake/Qt6
_qtcoreTagsPath:PATH=_qtcoreTagsPath-NOTFOUND

and test suite fails in two units

+ cd kservice-6.3.0
+ xvfb-run -a dbus-run-session -- /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/kservice-6.3.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/x86_64-redhat-linux-gnu
    Start 3: ksycocathreadtest
    Start 5: kapplicationtradertest
    Start 6: kmimeassociationstest
    Start 2: ksycoca_xdgdirstest
1/6 Test #2: ksycoca_xdgdirstest ..............   Passed    0.24 sec
2/6 Test #6: kmimeassociationstest ............   Passed    0.59 sec
3/6 Test #5: kapplicationtradertest ...........***Failed    1.17 sec
********* Start testing of KApplicationTraderTest *********
Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
PASS   : KApplicationTraderTest::initTestCase()
PASS   : KApplicationTraderTest::testTraderConstraints(no_constraint)
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(name_comparison)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(name_comparison) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderConstraints(no_such_name)
PASS   : KApplicationTraderTest::testTraderConstraints(no_such_name_by_case)
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(match_case_insensitive) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(is_contained_in) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderConstraints(is_contained_in_fail)
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_insensitive) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderConstraints(is_contained_in_case_in_fail)
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(subseq) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderConstraints(subseq_fail)
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/fakehtmlapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakejpegapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakehtmlapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakearkapplication.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive)      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive) Compared values are not the same
   Actual   (offers.count()): 10
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderConstraints(subseq_case_insensitive_fail)
PASS   : KApplicationTraderTest::testTraderConstraints(float_parsing)
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakeschemehandler.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testQueryByMimeType() Compared values are not the same
   Actual   (offers.count()): 2
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(161)]
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testQueryByMimeType()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testQueryByMimeType() Compared values are not the same
   Actual   (offers.count()): 6
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeschemehandler.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testThreads() Compared values are not the same
   Actual   (offers.count()): 2
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(161)]
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeschemehandler.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testThreads() Compared values are not the same
   Actual   (offers.count()): 2
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(161)]
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testThreads() Compared values are not the same
   Actual   (offers.count()): 6
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/faketextapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakedefaulttextapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakecsrcmswordapplication.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakepfx/faketextapplicationpfx.desktop"
QWARN  : KApplicationTraderTest::testThreads()      "/home/tkloczko/.qttest/share/applications/fakeoktetaapplication.desktop"
FAIL!  : KApplicationTraderTest::testThreads() Compared values are not the same
   Actual   (offers.count()): 6
   Expected (1)             : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/kapplicationtradertest.cpp(152)]
PASS   : KApplicationTraderTest::testTraderQueryMustRebuildSycoca()
PASS   : KApplicationTraderTest::testSetPreferredService()
PASS   : KApplicationTraderTest::cleanupTestCase()
Totals: 12 passed, 8 failed, 0 skipped, 0 blacklisted, 1155ms
********* Finished testing of KApplicationTraderTest *********

4/6 Test #3: ksycocathreadtest ................Subprocess aborted***Exception:   1.20 sec
********* Start testing of KSycocaThreadTest *********
Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
QFATAL : KSycocaThreadTest::initTestCase() sycoca doesn't have org.kde.testapp.desktop
FAIL!  : KSycocaThreadTest::initTestCase() Received a fatal error.
Totals: 0 passed, 1 failed, 0 skipped, 0 blacklisted, 110ms
********* Finished testing of KSycocaThreadTest *********
Received signal 6 (SIGABRT)
         initTestCase function time: 110ms, total time: 110ms

=== Stack trace ===
[New LWP 2029153]

warning: Error querying the rpm file `/lib64/libcrypto.so.3': openssl-3.2.1-7.fc37.nosrc.rpm-debuginfo.x86_64
Missing separate debuginfo for /lib64/libcrypto.so.3.
The debuginfo package for this file is probably broken.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f708b711e43 in wait4 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f70886006c0 (LWP 2029153) "QtTest Watchdog"):
#0  0x00007f708b6a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f708b6a4739 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f708b8dd6c0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib64/libstdc++.so.6
#3  0x00007f708c338f73 in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
#4  0x00007f708bef3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f708b6a5607 in start_thread () from /lib64/libc.so.6
#6  0x00007f708b72960c in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f708acb5900 (LWP 2029149) "ksycocathreadte"):
#0  0x00007f708b711e43 in wait4 () from /lib64/libc.so.6
#1  0x00007f708c33e3f5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#2  0x00007f708c339360 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#3  <signal handler called>
#4  0x00007f708b6a75a4 in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f708b64ed0e in raise () from /lib64/libc.so.6
#6  0x00007f708b636942 in abort () from /lib64/libc.so.6
#7  0x00007f708bccbd10 in qAbort() () from /lib64/libQt6Core.so.6
#8  0x00007f708bd1c222 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt6Core.so.6
#9  0x00007f708bccc6e1 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt6Core.so.6
#10 0x00005599e588c6f4 in KSycocaThreadTest::initTestCase (this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/ksycocathreadtest.cpp:218
#11 KSycocaThreadTest::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/x86_64-redhat-linux-gnu/autotests/ksycocathreadtest_autogen/include/ksycocathreadtest.moc:336
#12 0x00007f708bd95511 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#13 0x00007f708bd96431 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#14 0x00007f708c33695e in QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#15 0x00007f708c3438c4 in QTest::qRun() () from /lib64/libQt6Test.so.6
#16 0x00007f708c33c9f7 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
#17 0x00005599e588c855 in main (argc=<optimized out>, argv=0x7ffc1696cf78) at /home/tkloczko/rpmbuild/BUILD/kservice-6.3.0/autotests/ksycocathreadtest.cpp:298
[Inferior 1 (process 2029149) detached]
=== End of stack trace ===

    Start 4: kservicetest
5/6 Test #4: kservicetest .....................   Passed    3.71 sec
    Start 1: ksycocatest
6/6 Test #1: ksycocatest ......................   Passed    0.50 sec

67% tests passed, 2 tests failed out of 6

Total Test time (real) =   5.41 sec

The following tests FAILED:
          3 - ksycocathreadtest (Subprocess aborted)
          5 - kapplicationtradertest (Failed)
Errors while running CTest
Comment 1 Nate Graham 2024-06-19 19:07:39 UTC
Is it failing in the CI? If so, we know about it already and don't need a bug report.

Is it working in the CI but failing locally for you? Then I have to ask you to debug the tests and figure out what's wrong with them yourself.
Comment 2 kloczek 2024-06-19 22:40:36 UTC
(In reply to Nate Graham from comment #1)
> Is it failing in the CI? If so, we know about it already and don't need a
> bug report.
> 
> Is it working in the CI but failing locally for you? Then I have to ask you
> to debug the tests and figure out what's wrong with them yourself.

OK so what I can try do do to debug that?
Comment 3 Nate Graham 2024-06-20 13:55:08 UTC
Look at the code, see where it fails, try to figure out why it's failing and whether that reason is caused by a faulty assumption in the code, a local issue on your machine, ot something else. The same way you debug any failing code, really.
Comment 4 kloczek 2024-06-20 15:35:41 UTC
> Look at the code, see where it fails, try to figure out why it's failing and whether that reason is caused by a faulty assumption in the code, a local issue on your machine, ot something else. The same way you debug any failing code, really.

So looking on the diagnostics messages you cannot say anything about possible cause?
If yes so for what are those messages?

On build infra which I'm using I saw many cases when only change between Intel and AMD cased that some test suited started failing so if something is not failing in your CI it does not mean that there is no bug so .. closing ticket as resolved is not helpful.
Comment 5 Nate Graham 2024-06-20 15:37:48 UTC
I'm asking you to to this work. If you're technical enough to run autotests and notice any of them failing, you're technical enough to help debug them. If you don't want to to this, that's fine, but then please don't open bug reports about failing tests. As I have said, it's not useful.
Comment 6 kloczek 2024-06-20 17:05:22 UTC
(In reply to Nate Graham from comment #5)
> I'm asking you to to this work. If you're technical enough to run autotests
> and notice any of them failing, you're technical enough to help debug them.
> If you don't want to to this, that's fine, but then please don't open bug
> reports about failing tests. As I have said, it's not useful.

Look .. I'm just a packager.
I don't know anything about testing methodology/framework used in KDE.
In reply on my ticker there is no even hint about what could be wrong or what I can try to do.
Comment 7 Nate Graham 2024-06-20 19:40:41 UTC
I understand. I get that it's frustrating for some of the tests to be failing. It's frustrating for us too. We see it constantly, in every merge request we submit, and there's constant effort to do better here. It's just hard, and there are only so many hours in the day. Tests are code, too.

If you can help and would like to, then it would be much appreciated. Otherwise, just ignore the failing ones.
Comment 8 kloczek 2024-06-20 20:40:09 UTC
(In reply to Nate Graham from comment #7)
> I understand. I get that it's frustrating for some of the tests to be
> failing. It's frustrating for us too. We see it constantly, in every merge
> request we submit, and there's constant effort to do better here. It's just
> hard, and there are only so many hours in the day. Tests are code, too.
> 
> If you can help and would like to, then it would be much appreciated.
> Otherwise, just ignore the failing ones.

OK no problem .. so who wrote those test units and/or may at least push me in some exact direction to try to investigate reported issue?