Bug 488927 - 6.3.0: test suite fails in 4 units with call traces
Summary: 6.3.0: test suite fails in 4 units with call traces
Status: CLOSED NOT A BUG
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 20:48 UTC by kloczek
Modified: 2024-06-28 19:42 UTC (History)
3 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-21 20:48:36 UTC
cmake -L oputput

-- 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_L10N_AUTO_TRANSLATIONS:BOOL=OFF
KDE_L10N_BRANCH:STRING=trunk
KDE_L10N_SYNC_TRANSLATIONS:BOOL=OFF
KDE_SKIP_UNINSTALL_TARGET:BOOL=OFF
KF6Config_DIR:PATH=/usr/lib64/cmake/KF6Config
KF6CoreAddons_DIR:PATH=/usr/lib64/cmake/KF6CoreAddons
KF6I18n_DIR:PATH=/usr/lib64/cmake/KF6I18n
KF6ItemModels_DIR:PATH=/usr/lib64/cmake/KF6ItemModels
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
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
Qt6GuiTools_DIR:PATH=/usr/lib64/cmake/Qt6GuiTools
Qt6Gui_DIR:PATH=/usr/lib64/cmake/Qt6Gui
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
Qt6WidgetsTools_DIR:PATH=/usr/lib64/cmake/Qt6WidgetsTools
Qt6Widgets_DIR:PATH=/usr/lib64/cmake/Qt6Widgets
Qt6_DIR:PATH=/usr/lib64/cmake/Qt6
XKB_INCLUDE_DIR:PATH=/usr/include
XKB_LIBRARY:FILEPATH=/usr/lib64/libxkbcommon.so
_qtcoreTagsPath:PATH=_qtcoreTagsPath-NOTFOUND
_tar_executable:FILEPATH=/usr/bin/gtar


Ans test suite fails like below

+ cd krunner-6.3.0
+ dbus-run-session xvfb-run -a /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/krunner-6.3.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu
    Start 1: dbusrunnertest
    Start 2: runnermatchmethodstest
    Start 3: runnermanagerhistorytest
    Start 4: runnermanagersinglerunnermodetest
    Start 5: runnermanagertest
    Start 6: testmetadataconversion
    Start 7: threadingtest
1/7 Test #2: runnermatchmethodstest ..............   Passed    0.04 sec
2/7 Test #6: testmetadataconversion ..............   Passed    0.04 sec
3/7 Test #3: runnermanagerhistorytest ............   Passed    0.19 sec
4/7 Test #1: dbusrunnertest ......................***Failed    1.45 sec
********* Start testing of DBusRunnerTest *********
Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240607 (Red Hat 14.1.1-5)), fedora 41
PASS   : DBusRunnerTest::initTestCase()
QWARN  : DBusRunnerTest::testMatch() Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QWARN  : DBusRunnerTest::testMatch() kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testMatch()
PASS   : DBusRunnerTest::testMulti()
PASS   : DBusRunnerTest::testFilterProperties(min-letter-count)
FAIL!  : DBusRunnerTest::testFilterProperties(match-regex) 'process->readAllStandardOutput().isEmpty()' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/dbusrunnertest.cpp(152)]
QWARN  : DBusRunnerTest::testFilterProperties(match-regex) Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :  Matching:foo

PASS   : DBusRunnerTest::testRequestActionsOnce()
PASS   : DBusRunnerTest::testDBusRunnerSyntaxIntegration()
PASS   : DBusRunnerTest::testIconData()
FAIL!  : DBusRunnerTest::testLifecycleMethods() Compared lists have different sizes.
   Actual   (lifeCycleSteps) size: 5
   Expected (expectedLifeCycleSteps) size: 4
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/dbusrunnertest.cpp(211)]
QWARN  : DBusRunnerTest::testLifecycleMethods() Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :
PASS   : DBusRunnerTest::testRequestActionsWildcards()
PASS   : DBusRunnerTest::cleanupTestCase()
Totals: 9 passed, 2 failed, 0 skipped, 0 blacklisted, 1393ms
********* Finished testing of DBusRunnerTest *********

5/7 Test #5: runnermanagertest ...................***Failed    4.45 sec
********* Start testing of RunnerManagerTest *********
Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240607 (Red Hat 14.1.1-5)), fedora 41
QWARN  : RunnerManagerTest::initTestCase() Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QWARN  : RunnerManagerTest::initTestCase() kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : RunnerManagerTest::initTestCase()
PASS   : RunnerManagerTest::testScheduleMatchesChanged()
QWARN  : RunnerManagerTest::testQueryFinishedFromReset() kf.runner: Error requesting matches; calling "net.krunnertests.dave"  : "org.freedesktop.DBus.Error.NoReply" "Message recipient disconnected from message bus without replying"
QWARN  : RunnerManagerTest::testQueryFinishedFromReset() kf.runner: Error requesting matches; calling "net.krunnertests.dave"  : "org.freedesktop.DBus.Error.NoReply" "Message recipient disconnected from message bus without replying"
PASS   : RunnerManagerTest::testQueryFinishedFromReset()
PASS   : RunnerManagerTest::testNotCrashWhenDeletingRunnerManager()
PASS   : RunnerManagerTest::testRunnerManagerStateGroups()
PASS   : RunnerManagerTest::testRunnerSuspendWhileReloadingConfig()
QWARN  : RunnerManagerTest::testAbstractRunnerTestTimeout() kf.runner: Error requesting matches; calling "net.krunnertests.dave"  : "org.freedesktop.DBus.Error.ServiceUnknown" "The name net.krunnertests.dave was not provided by any .service files"
XPASS  : RunnerManagerTest::testAbstractRunnerTestTimeout() 'spy.wait()' returned TRUE unexpectedly. (RunnerManager did not emit the queryFinished signal)
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h(75)]
PASS   : RunnerManagerTest::cleanupTestCase()
Totals: 7 passed, 1 failed, 0 skipped, 0 blacklisted, 4393ms
********* Finished testing of RunnerManagerTest *********

6/7 Test #4: runnermanagersinglerunnermodetest ...Subprocess aborted***Exception:  13.21 sec
********* Start testing of RunnerManagerSingleRunnerModeTest *********
Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240607 (Red Hat 14.1.1-5)), fedora 41
PASS   : RunnerManagerSingleRunnerModeTest::initTestCase()
QWARN  : RunnerManagerSingleRunnerModeTest::loadTwoRunners() Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QWARN  : RunnerManagerSingleRunnerModeTest::loadTwoRunners() kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : RunnerManagerSingleRunnerModeTest::loadTwoRunners()
QWARN  : RunnerManagerSingleRunnerModeTest::testAllRunnerResults() kf.runner: Error requesting matches; calling "net.krunnertests.dave"  : "org.freedesktop.DBus.Error.NoReply" "Message recipient disconnected from message bus without replying"
FAIL!  : RunnerManagerSingleRunnerModeTest::testAllRunnerResults() Compared values are not the same
   Actual   (matches.count()): 1
   Expected (2)              : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/runnermanagersinglerunnermodetest.cpp(58)]
QWARN  : RunnerManagerSingleRunnerModeTest::testAllRunnerResults() Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :
QWARN  : RunnerManagerSingleRunnerModeTest::testAllRunnerResults() Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :  Actions
Matching:foo

QWARN  : RunnerManagerSingleRunnerModeTest::testSingleRunnerResults() kf.runner: Error requesting matches; calling "net.krunnertests.dave"  : "org.freedesktop.DBus.Error.NoReply" "Message recipient disconnected from message bus without replying"
FAIL!  : RunnerManagerSingleRunnerModeTest::testSingleRunnerResults() Compared values are not the same
   Actual   (manager->matches().count()): 0
   Expected (1)                         : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/runnermanagersinglerunnermodetest.cpp(69)]
QWARN  : RunnerManagerSingleRunnerModeTest::testSingleRunnerResults() Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :
QWARN  : RunnerManagerSingleRunnerModeTest::testSingleRunnerResults() Output from  /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/x86_64-redhat-linux-gnu/bin/testremoterunner :
PASS   : RunnerManagerSingleRunnerModeTest::testNonExistentRunnerId()
QFATAL : RunnerManagerSingleRunnerModeTest::testLoadingDisabledRunner() ASSERT failure in AbstractRunnerTest::startDBusRunnerProcess: "DBus service was not registered within 10 seconds", file /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h, line 115
FAIL!  : RunnerManagerSingleRunnerModeTest::testLoadingDisabledRunner() Received a fatal error.
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h(115)]
Totals: 3 passed, 3 failed, 0 skipped, 0 blacklisted, 11351ms
********* Finished testing of RunnerManagerSingleRunnerModeTest *********
Received signal 6 (SIGABRT)
         testLoadingDisabledRunner function time: 10274ms, total time: 11352ms

=== Stack trace ===
[New LWP 3969305]
[New LWP 3969309]
[New LWP 3969317]

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".
0x00007fe7b4911e43 in wait4 () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe7ab4006c0 (LWP 3969317) "QtTest Watchdog"):
#0  0x00007fe7b48a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007fe7b48a4db2 in pthread_cond_clockwait@GLIBC_2.30 () from /lib64/libc.so.6
#2  0x00007fe7b60db2cd in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
#3  0x00007fe7b50f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#4  0x00007fe7b48a5607 in start_thread () from /lib64/libc.so.6
#5  0x00007fe7b492960c in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe7abe006c0 (LWP 3969309) "QXcbEventQueue"):
#0  0x00007fe7b491b8bd in poll () from /lib64/libc.so.6
#1  0x00007fe7b3b85072 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007fe7b3b86c8c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fe7b14a8bc8 in QXcbEventQueue::run() () from /lib64/libQt6XcbQpa.so.6
#4  0x00007fe7b50f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007fe7b48a5607 in start_thread () from /lib64/libc.so.6
#6  0x00007fe7b492960c in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe7b12006c0 (LWP 3969305) "QDBusConnection"):
#0  0x00007fe7b491b8bd in poll () from /lib64/libc.so.6
#1  0x00007fe7b463ec2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fe7b45e3e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fe7b51d83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007fe7b4f914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007fe7b507a1b7 in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007fe7b5578bdd in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007fe7b50f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007fe7b48a5607 in start_thread () from /lib64/libc.so.6
#9  0x00007fe7b492960c in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe7b3ac9900 (LWP 3969296) "runnermanagersi"):
#0  0x00007fe7b4911e43 in wait4 () from /lib64/libc.so.6
#1  0x00007fe7b60e07c5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#2  0x00007fe7b60db620 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#3  <signal handler called>
#4  0x00007fe7b48a75a4 in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007fe7b484ed0e in raise () from /lib64/libc.so.6
#6  0x00007fe7b4836942 in abort () from /lib64/libc.so.6
#7  0x00007fe7b4ecbd40 in qAbort() () from /lib64/libQt6Core.so.6
#8  0x00007fe7b4f1c502 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt6Core.so.6
#9  0x00007fe7b4ecc711 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt6Core.so.6
#10 0x00007fe7b4ecc7c2 in qt_assert_x(char const*, char const*, char const*, int) () from /lib64/libQt6Core.so.6
#11 0x00005576e0152839 in KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}::operator()() const (__closure=0x5576e1776b10) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h:115
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}>::call(KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}&, void**) (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#13 QtPrivate::FunctorCallable<KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}>::call<QtPrivate::List<>, void>(KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}&, void*, void**) (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#14 QtPrivate::QCallableObject<KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=0x5576e1776b00, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#15 0x00007fe7b4fe5707 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#16 0x00007fe7b4f11f66 in QSingleShotTimer::timerEvent(QTimerEvent*) () from /lib64/libQt6Core.so.6
#17 0x00007fe7b4fcaea9 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#18 0x00007fe7b4f85628 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#19 0x00007fe7b50f7327 in QTimerInfoList::activateTimers() () from /lib64/libQt6Core.so.6
#20 0x00007fe7b51db0e1 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#21 0x00007fe7b45e4f72 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#22 0x00007fe7b463ec88 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#23 0x00007fe7b45e3e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007fe7b51d83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#25 0x00007fe7b4f914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#26 0x00005576e015731d in KRunner::AbstractRunnerTest::startDBusRunnerProcess (this=this@entry=0x7ffcc77a0fd0, args=..., waitForService=...) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h:118
#27 0x00005576e01578bd in RunnerManagerSingleRunnerModeTest::loadTwoRunners (this=this@entry=0x7ffcc77a0fd0) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/runnermanagersinglerunnermodetest.cpp:28
#28 0x00005576e015974f in RunnerManagerSingleRunnerModeTest::testLoadingDisabledRunner (this=0x7ffcc77a0fd0) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/runnermanagersinglerunnermodetest.cpp:86
#29 0x00007fe7b4f961f1 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#30 0x00007fe7b4f97111 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#31 0x00007fe7b60dbbd3 in QTest::TestMethods::invokeTestOnData(int) const () from /lib64/libQt6Test.so.6
#32 0x00007fe7b60e62aa in QTest::qRun() () from /lib64/libQt6Test.so.6
#33 0x00007fe7b60ded47 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
#34 0x00005576e015321b in main (argc=<optimized out>, argv=0x7ffcc77a1158) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/runnermanagersinglerunnermodetest.cpp:124
[Inferior 1 (process 3969296) detached]
=== End of stack trace ===

7/7 Test #7: threadingtest .......................Subprocess aborted***Exception:  13.27 sec
********* Start testing of ThreadingTest *********
Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240607 (Red Hat 14.1.1-5)), fedora 41
PASS   : ThreadingTest::initTestCase()
QWARN  : ThreadingTest::testParallelQuerying() kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : ThreadingTest::testParallelQuerying() Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
PASS   : ThreadingTest::testParallelQuerying()
PASS   : ThreadingTest::testDeletionOfRunningJob()
QFATAL : ThreadingTest::testTeardownWhileJobIsRunning() ASSERT failure in AbstractRunnerTest::startDBusRunnerProcess: "DBus service was not registered within 10 seconds", file /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h, line 115
FAIL!  : ThreadingTest::testTeardownWhileJobIsRunning() Received a fatal error.
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h(115)]
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 11346ms
********* Finished testing of ThreadingTest *********
Received signal 6 (SIGABRT)
         testTeardownWhileJobIsRunning function time: 10146ms, total time: 11346ms

=== Stack trace ===
[New LWP 3969315]
[New LWP 3969320]
[New LWP 3969326]

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".
0x00007ff44ff11e43 in wait4 () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff44b4006c0 (LWP 3969326) "QtTest Watchdog"):
#0  0x00007ff44fea1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007ff44fea4db2 in pthread_cond_clockwait@GLIBC_2.30 () from /lib64/libc.so.6
#2  0x00007ff4515c52cd in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
#3  0x00007ff4506f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#4  0x00007ff44fea5607 in start_thread () from /lib64/libc.so.6
#5  0x00007ff44ff2960c in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff44be006c0 (LWP 3969320) "QXcbEventQueue"):
#0  0x00007ff44ff1b8bd in poll () from /lib64/libc.so.6
#1  0x00007ff44f715072 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007ff44f716c8c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007ff44c998bc8 in QXcbEventQueue::run() () from /lib64/libQt6XcbQpa.so.6
#4  0x00007ff4506f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007ff44fea5607 in start_thread () from /lib64/libc.so.6
#6  0x00007ff44ff2960c in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff44c8006c0 (LWP 3969315) "QDBusConnection"):
#0  0x00007ff44ff1b8bd in poll () from /lib64/libc.so.6
#1  0x00007ff44fb5ac2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007ff44faffe23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007ff4507d83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007ff4505914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007ff45067a1b7 in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007ff450a99bdd in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007ff4506f7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007ff44fea5607 in start_thread () from /lib64/libc.so.6
#9  0x00007ff44ff2960c in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff44e963900 (LWP 3969299) "threadingtest"):
#0  0x00007ff44ff11e43 in wait4 () from /lib64/libc.so.6
#1  0x00007ff4515ca7c5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#2  0x00007ff4515c5620 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#3  <signal handler called>
#4  0x00007ff44fea75a4 in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007ff44fe4ed0e in raise () from /lib64/libc.so.6
#6  0x00007ff44fe36942 in abort () from /lib64/libc.so.6
#7  0x00007ff4504cbd40 in qAbort() () from /lib64/libQt6Core.so.6
#8  0x00007ff45051c502 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt6Core.so.6
#9  0x00007ff4504cc711 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt6Core.so.6
#10 0x00007ff4504cc7c2 in qt_assert_x(char const*, char const*, char const*, int) () from /lib64/libQt6Core.so.6
#11 0x000055a96a51e621 in KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}::operator()() const (__closure=0x55a96b6fce10) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h:115
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}>::call(KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}&, void**) (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#13 QtPrivate::FunctorCallable<KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}>::call<QtPrivate::List<>, void>(KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}&, void*, void**) (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#14 QtPrivate::QCallableObject<KRunner::AbstractRunnerTest::startDBusRunnerProcess(QList<QString> const&, QString)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=0x55a96b6fce00, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#15 0x00007ff4505e5707 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#16 0x00007ff450511f66 in QSingleShotTimer::timerEvent(QTimerEvent*) () from /lib64/libQt6Core.so.6
#17 0x00007ff4505caea9 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#18 0x00007ff450585628 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#19 0x00007ff4506f7327 in QTimerInfoList::activateTimers() () from /lib64/libQt6Core.so.6
#20 0x00007ff4507db0e1 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#21 0x00007ff44fb00f72 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#22 0x00007ff44fb5ac88 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#23 0x00007ff44faffe23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007ff4507d83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#25 0x00007ff4505914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#26 0x000055a96a5247e3 in KRunner::AbstractRunnerTest::startDBusRunnerProcess (this=0x7ffe0e206440, args=..., waitForService=...) at /usr/include/qt6/QtCore/qarraydatapointer.h:439
#27 ThreadingTest::init (this=0x7ffe0e206440) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/threadingtest.cpp:20
#28 0x00007ff4505961f1 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#29 0x00007ff450597111 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#30 0x00007ff4515c2bae in QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#31 0x00007ff4515c58ea in QTest::TestMethods::invokeTestOnData(int) const () from /lib64/libQt6Test.so.6
#32 0x00007ff4515d02aa in QTest::qRun() () from /lib64/libQt6Test.so.6
#33 0x00007ff4515c8d47 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
#34 0x000055a96a51f19c in main (argc=<optimized out>, argv=0x7ffe0e2065d8) at /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/autotests/threadingtest.cpp:92
[Inferior 1 (process 3969299) detached]
=== End of stack trace ===


43% tests passed, 4 tests failed out of 7

Total Test time (real) =  13.29 sec

The following tests FAILED:
          1 - dbusrunnertest (Failed)
          4 - runnermanagersinglerunnermodetest (Subprocess aborted)
          5 - runnermanagertest (Failed)
          7 - threadingtest (Subprocess aborted)
Errors while running CTest
Comment 1 Nate Graham 2024-06-25 20:27:58 UTC
Reporter has been asked multiple times to stop opening worthless bug reports about failing unit tests with no attempt made to debug. Closing.
Comment 2 kloczek 2024-06-26 09:01:17 UTC
I would really like to make ANY attempt to debug anything but so far no one says what I can try to debug.
Comment 3 Alexander Lohnau 2024-06-26 21:36:16 UTC
>QFATAL : ThreadingTest::testTeardownWhileJobIsRunning() ASSERT failure in AbstractRunnerTest::startDBusRunnerProcess: "DBus service was not registered within 10 seconds", file /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h, line 115

Could it be that the test dbusrunner failed to launch then? I wonder if another process could be running or so. Maybe just give it a try manually with the given parameters and use qdbusviewer to test some method calls and see if it shows up.
Comment 4 kloczek 2024-06-27 01:04:51 UTC
(In reply to Alexander Lohnau from comment #3)
> >QFATAL : ThreadingTest::testTeardownWhileJobIsRunning() ASSERT failure in AbstractRunnerTest::startDBusRunnerProcess: "DBus service was not registered within 10 seconds", file /home/tkloczko/rpmbuild/BUILD/krunner-6.3.0/src/abstractrunnertest.h, line 115
> 
> Could it be that the test dbusrunner failed to launch then? I wonder if
> another process could be running or so. Maybe just give it a try manually
> with the given parameters and use qdbusviewer to test some method calls and
> see if it shows up.

What you mean "manually"?
What exactly do you want me to run?
Comment 5 Alexander Lohnau 2024-06-28 19:42:24 UTC
As part of the test a "testremoterunner" executable is compiled