Bug 464362 - 5.105.0: test suite is failing
Summary: 5.105.0: test suite is failing
Status: RESOLVED UNMAINTAINED
Alias: None
Product: frameworks-krunner
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.105.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-16 02:45 UTC by kloczek
Modified: 2024-06-21 20:45 UTC (History)
1 user (show)

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


Attachments
ctest log (275.20 KB, text/plain)
2023-01-16 02:45 UTC, kloczek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2023-01-16 02:45:43 UTC
Created attachment 155337 [details]
ctest log

teste suite is failing in 3 units

63% tests passed, 3 tests failed out of 8

Total Test time (real) = 305.04 sec

The following tests FAILED:
          2 - runnercontexttest (Failed)
          3 - dbusrunnertest (Subprocess aborted)
          7 - runnermanagertest (Failed)
Errors while running CTest

Full log in attachment.
Comment 1 kloczek 2023-04-08 23:07:46 UTC
Gentle ping .. just tested 5.105 and looks like test suite still is failing

+ cd krunner-5.105.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-5.105.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/x86_64-redhat-linux-gnu
    Start 1: runnercontexttest
    Start 2: dbusrunnertest
    Start 3: runnermatchmethodstest
    Start 4: runnermanagerhistorytest
    Start 5: runnermanagersinglerunnermodetest
    Start 6: runnermanagertest
    Start 7: testmetadataconversion
1/7 Test #7: testmetadataconversion ..............   Passed    0.06 sec
2/7 Test #3: runnermatchmethodstest ..............   Passed    0.13 sec
3/7 Test #1: runnercontexttest ...................***Failed    0.15 sec
********* Start testing of RunnerContextTest *********
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   : RunnerContextTest::initTestCase()
PASS   : RunnerContextTest::typeDetection(http without host)
PASS   : RunnerContextTest::typeDetection(http without host)
PASS   : RunnerContextTest::typeDetection(ftp with host)
FAIL!  : RunnerContextTest::typeDetection(file double slash) Compared values are not the same
   Actual   (int(m_context.type())): 8
   Expected (int(type))            : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
FAIL!  : RunnerContextTest::typeDetection(file triple slash) Compared values are not the same
   Actual   (int(m_context.type())): 1
   Expected (int(type))            : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
FAIL!  : RunnerContextTest::typeDetection(file single slash) Compared values are not the same
   Actual   (int(m_context.type())): 1
   Expected (int(type))            : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
FAIL!  : RunnerContextTest::typeDetection(file multiple path) Compared values are not the same
   Actual   (int(m_context.type())): 8
   Expected (int(type))            : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
FAIL!  : RunnerContextTest::typeDetection(invalid file path) Compared values are not the same
   Actual   (int(m_context.type())): 8
   Expected (int(type))            : 1
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
PASS   : RunnerContextTest::typeDetection(executable)
PASS   : RunnerContextTest::typeDetection(executable with params)
PASS   : RunnerContextTest::typeDetection(full path executable)
PASS   : RunnerContextTest::typeDetection(full path executable with params)
FAIL!  : RunnerContextTest::typeDetection(protocol-less path) Compared values are not the same
   Actual   (int(m_context.type())): 1
   Expected (int(type))            : 2
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnercontexttest.cpp(62)]
PASS   : RunnerContextTest::typeDetection(protocol-less tilded)
PASS   : RunnerContextTest::typeDetection(protocol-less file starting with tilded)
PASS   : RunnerContextTest::typeDetection(invalid protocol-less path)
PASS   : RunnerContextTest::typeDetection(calculation)
PASS   : RunnerContextTest::typeDetection(calculation (float))
PASS   : RunnerContextTest::typeDetection(Invalid casing dir path)
PASS   : RunnerContextTest::typeDetection(Invalid casing file path)
PASS   : RunnerContextTest::cleanupTestCase()
Totals: 16 passed, 6 failed, 0 skipped, 0 blacklisted, 6ms
********* Finished testing of RunnerContextTest *********

4/7 Test #6: runnermanagertest ...................***Failed    0.22 sec
********* Start testing of RunnerManagerTest *********
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
QWARN  : RunnerManagerTest::initTestCase() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : RunnerManagerTest::initTestCase() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : RunnerManagerTest::initTestCase() Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
PASS   : RunnerManagerTest::initTestCase()
FAIL!  : RunnerManagerTest::testScheduleMatchesChanged() 'timer.elapsed() >= 250' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/runnermanagertest.cpp(74)]
PASS   : RunnerManagerTest::testQueryFinishedFromReset()
PASS   : RunnerManagerTest::testNotCrashWhenDeletingRunnerManager()
PASS   : RunnerManagerTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 36ms
********* Finished testing of RunnerManagerTest *********

5/7 Test #4: runnermanagerhistorytest ............   Passed    0.32 sec
6/7 Test #5: runnermanagersinglerunnermodetest ...   Passed    0.69 sec
7/7 Test #2: dbusrunnertest ......................***Failed    6.65 sec
********* Start testing of DBusRunnerTest *********
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   : DBusRunnerTest::initTestCase()
QWARN  : DBusRunnerTest::testMatch() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testMatch() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
FAIL!  : DBusRunnerTest::testMatch() Compared values are not the same
   Actual   (process->readAllStandardOutput().trimmed().split('\n').constLast()): ""
   Expected (QByteArray("Running:id1:"))                                        : "Running:id1:"
   Loc: [/home/tkloczko/rpmbuild/BUILD/krunner-5.105.0/autotests/dbusrunnertest.cpp(118)]
QSYSTEM: DBusRunnerTest::testMulti(deprecated) "applications.menu"  not found in  ("/etc/xdg/menus")
QWARN  : DBusRunnerTest::testMulti(deprecated) Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
PASS   : DBusRunnerTest::testMulti(deprecated)
PASS   : DBusRunnerTest::testMulti(non-deprecated)
QWARN  : DBusRunnerTest::testFilterProperties(min-letter-count) kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testFilterProperties(min-letter-count) kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testFilterProperties(min-letter-count)
QWARN  : DBusRunnerTest::testFilterProperties(match-regex) kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testFilterProperties(match-regex) kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testFilterProperties(match-regex)
QWARN  : DBusRunnerTest::testRequestActionsOnce() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testRequestActionsOnce() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testRequestActionsOnce()
QWARN  : DBusRunnerTest::testDBusRunnerSyntaxIntegration() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testDBusRunnerSyntaxIntegration() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testDBusRunnerSyntaxIntegration()
QWARN  : DBusRunnerTest::testIconData() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testIconData() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testIconData()
QWARN  : DBusRunnerTest::testLifecycleMethods() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testLifecycleMethods() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testLifecycleMethods()
QWARN  : DBusRunnerTest::testRequestActionsOnceWildcards() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
QWARN  : DBusRunnerTest::testRequestActionsOnceWildcards() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "search term" msgid_plural: "" msgctxt: ""
PASS   : DBusRunnerTest::testRequestActionsOnceWildcards()
PASS   : DBusRunnerTest::cleanupTestCase()
Totals: 11 passed, 1 failed, 0 skipped, 0 blacklisted, 6454ms
********* Finished testing of DBusRunnerTest *********


57% tests passed, 3 tests failed out of 7

Total Test time (real) =   6.65 sec

The following tests FAILED:
          1 - runnercontexttest (Failed)
          2 - dbusrunnertest (Failed)
          6 - runnermanagertest (Failed)
Errors while running CTest
Comment 2 Alexander Lohnau 2023-04-09 17:45:42 UTC
For the DBusRunnerTest I suggest printing out all the output before the condition that is failing. I have no spontaneous idea about the RunnerContextTest, it works fine on CI and my local setup.