Bug 468305 - 6.3.0: test suite is failing
Summary: 6.3.0: test suite is failing
Status: CLOSED NOT A BUG
Alias: None
Product: frameworks-purpose
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.3.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 22:07 UTC by kloczek
Modified: 2024-06-25 20:46 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 22:07:53 UTC
Looks like test suite is failing in two units

+ cd purpose-5.105.0
+ 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/purpose-5.105.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/purpose-5.105.0/x86_64-redhat-linux-gnu
    Start 1: alternativesmodeltest
    Start 2: menutest
1/2 Test #2: menutest .........................***Failed    0.15 sec
********* Start testing of MenuTest *********
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   : MenuTest::initTestCase()
QWARN  : MenuTest::runJobTest() kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Send File" msgid_plural: "" msgctxt: ""
QWARN  : MenuTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : MenuTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : MenuTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'http'."
QWARN  : MenuTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QDEBUG : MenuTest::runJobTest() qml:  Unknown protocol 'file'.
QDEBUG : MenuTest::runJobTest() job failed with error " Unknown protocol 'file'."
FAIL!  : MenuTest::runJobTest() Compared values are not the same
   Actual   (error): 173
   Expected (0)    : 0
   Loc: [/home/tkloczko/rpmbuild/BUILD/purpose-5.105.0/autotests/menutest.cpp(67)]
PASS   : MenuTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 71ms
********* Finished testing of MenuTest *********

2/2 Test #1: alternativesmodeltest ............***Failed    0.33 sec
********* Start testing of AlternativesModelTest *********
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   : AlternativesModelTest::initTestCase()
QDEBUG : AlternativesModelTest::runJobTest() missing mandatory argument "destinationPath"
QDEBUG : AlternativesModelTest::runJobTest() missing mandatory argument "destinationPath"
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'http'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
FAIL!  : AlternativesModelTest::runJobTest() 'job->exec()' returned FALSE. ( Unknown protocol 'file'.)
   Loc: [/home/tkloczko/rpmbuild/BUILD/purpose-5.105.0/autotests/alternativesmodeltest.cpp(69)]
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
FAIL!  : AlternativesModelTest::bigBufferTest() 'job->exec()' returned FALSE. ( Unknown protocol 'file'.)
   Loc: [/home/tkloczko/rpmbuild/BUILD/purpose-5.105.0/autotests/alternativesmodeltest.cpp(96)]
PASS   : AlternativesModelTest::disablePluginTest()
PASS   : AlternativesModelTest::blacklistTest()
PASS   : AlternativesModelTest::cleanupTestCase()
Totals: 4 passed, 2 failed, 0 skipped, 0 blacklisted, 302ms
********* Finished testing of AlternativesModelTest *********


0% tests passed, 2 tests failed out of 2

Total Test time (real) =   0.33 sec

The following tests FAILED:
          1 - alternativesmodeltest (Failed)
          2 - menutest (Failed)
Errors while running CTest
Comment 1 kloczek 2024-06-24 20:25:28 UTC
Just started moving to KDE 6 a d found that even with that version exactly he same units are failing

+ 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/purpose-6.3.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/purpose-6.3.0/x86_64-redhat-linux-gnu
    Start 1: alternativesmodeltest
    Start 2: menutest
1/2 Test #1: alternativesmodeltest ............***Failed    0.35 sec
********* Start testing of AlternativesModelTest *********
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 20240620 (Red Hat 14.1.1-6)), fedora 41
PASS   : AlternativesModelTest::initTestCase()
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'http'."
QWARN  : AlternativesModelTest::runJobTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
FAIL!  : AlternativesModelTest::runJobTest() 'job->exec()' returned FALSE. ( Unknown protocol 'file'.)
   Loc: [/home/tkloczko/rpmbuild/BUILD/purpose-6.3.0/autotests/alternativesmodeltest.cpp(69)]
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
QWARN  : AlternativesModelTest::bigBufferTest() kf.kio.core: couldn't create worker: "Unknown protocol 'file'."
FAIL!  : AlternativesModelTest::bigBufferTest() 'job->exec()' returned FALSE. ( Unknown protocol 'file'.)
   Loc: [/home/tkloczko/rpmbuild/BUILD/purpose-6.3.0/autotests/alternativesmodeltest.cpp(96)]
PASS   : AlternativesModelTest::disablePluginTest()
PASS   : AlternativesModelTest::blacklistTest()
PASS   : AlternativesModelTest::cleanupTestCase()
Totals: 4 passed, 2 failed, 0 skipped, 0 blacklisted, 318ms
********* Finished testing of AlternativesModelTest *********

2/2 Test #2: menutest .........................Subprocess aborted***Exception:   3.51 sec
********* Start testing of MenuTest *********
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 20240620 (Red Hat 14.1.1-6)), fedora 41
PASS   : MenuTest::initTestCase()
libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

QWARN  : MenuTest::runJobTest() qt.qpa.gl: Xcb EGL gl-integration initialize failed
QWARN  : MenuTest::runJobTest() 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: "Send File" msgid_plural: "" msgctxt: ""
QWARN  : MenuTest::runJobTest() QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QWARN  : MenuTest::runJobTest() QRhiGles2: Failed to create temporary context
QWARN  : MenuTest::runJobTest() QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QWARN  : MenuTest::runJobTest() QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QWARN  : MenuTest::runJobTest() QRhiGles2: Failed to create context
QWARN  : MenuTest::runJobTest() Failed to create RHI (backend 2)
QFATAL : MenuTest::runJobTest() Failed to initialize graphics backend for OpenGL.
FAIL!  : MenuTest::runJobTest() Received a fatal error.
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 113ms
********* Finished testing of MenuTest *********
Received signal 6 (SIGABRT)
         runJobTest function time: 112ms, total time: 113ms

=== Stack trace ===
[New LWP 1712494]
[New LWP 1712495]
[New LWP 1712496]
[New LWP 1712497]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f3098711e43 in wait4 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f30922006c0 (LWP 1712497) "QQmlThread"):
#0  0x00007f309871b8bd in poll () from /lib64/libc.so.6
#1  0x00007f3097da1c2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f3097d46e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3098fd83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f3098d914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f3098e7a1b7 in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f3098ef7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007f30986a5607 in start_thread () from /lib64/libc.so.6
#8  0x00007f309872960c in __clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3092c006c0 (LWP 1712496) "QtTest Watchdog"):
#0  0x00007f30986a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f30986a4db2 in pthread_cond_clockwait@GLIBC_2.30 () from /lib64/libc.so.6
#2  0x00007f309a73f2cd in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
#3  0x00007f3098ef7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#4  0x00007f30986a5607 in start_thread () from /lib64/libc.so.6
#5  0x00007f309872960c in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f30936006c0 (LWP 1712495) "QXcbEventQueue"):
#0  0x00007f309871b8bd in poll () from /lib64/libc.so.6
#1  0x00007f3097385072 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007f3097386c8c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f30942eabc8 in QXcbEventQueue::run() () from /lib64/libQt6XcbQpa.so.6
#4  0x00007f3098ef7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f30986a5607 in start_thread () from /lib64/libc.so.6
#6  0x00007f309872960c in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f30940006c0 (LWP 1712494) "QDBusConnection"):
#0  0x00007f309871b8bd in poll () from /lib64/libc.so.6
#1  0x00007f3097da1c2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f3097d46e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3098fd83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f3098d914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f3098e7a1b7 in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f3099378bdd in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007f3098ef7a15 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f30986a5607 in start_thread () from /lib64/libc.so.6
#9  0x00007f309872960c in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f30943a8a00 (LWP 1712491) "menutest"):
#0  0x00007f3098711e43 in wait4 () from /lib64/libc.so.6
#1  0x00007f309a7447c5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#2  0x00007f309a73f620 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
#3  <signal handler called>
#4  0x00007f30986a75a4 in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f309864ed0e in raise () from /lib64/libc.so.6
#6  0x00007f3098636942 in abort () from /lib64/libc.so.6
#7  0x00007f3098ccbd40 in qAbort() () from /lib64/libQt6Core.so.6
#8  0x00007f3098d1c502 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt6Core.so.6
#9  0x00007f3098ccc711 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt6Core.so.6
#10 0x00007f309099d392 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*) [clone .cold] () from /lib64/libQt6Quick.so.6
#11 0x00007f3090b2e295 in QSGGuiThreadRenderLoop::ensureRhi(QQuickWindow*, QSGGuiThreadRenderLoop::WindowData&) () from /lib64/libQt6Quick.so.6
#12 0x00007f3090b2fec1 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () from /lib64/libQt6Quick.so.6
#13 0x00007f309962855c in QWindow::event(QEvent*) () from /lib64/libQt6Gui.so.6
#14 0x00007f3099f93a20 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#15 0x00007f3098d85628 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#16 0x00007f30995d8bf5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib64/libQt6Gui.so.6
#17 0x00007f30996381ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Gui.so.6
#18 0x00007f30942edde6 in xcbSourceDispatch(_GSource*, int (*)(void*), void*) [clone .lto_priv.0] () from /lib64/libQt6XcbQpa.so.6
#19 0x00007f3097d47f72 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#20 0x00007f3097da1c88 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#21 0x00007f3097d46e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007f3098fd83e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#23 0x00007f3098d914ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#24 0x00005568d1f0ab26 in QTestEventLoop::enterLoop (this=0x7ffe3282c3b8, msecs=...) at /usr/include/qt6/QtTest/qtesteventloop.h:73
#25 QSignalSpy::wait (this=0x7ffe3282c360, timeout=...) at /usr/include/qt6/QtTest/qsignalspy.h:108
#26 MenuTest::runJobTest (this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/purpose-6.3.0/autotests/menutest.cpp:66
#27 0x00007f3098d961f1 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#28 0x00007f3098d97111 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
#29 0x00007f309a73fbd3 in QTest::TestMethods::invokeTestOnData(int) const () from /lib64/libQt6Test.so.6
#30 0x00007f309a74a2aa in QTest::qRun() () from /lib64/libQt6Test.so.6
#31 0x00007f309a742d47 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
#32 0x00005568d1f074de in main (argc=<optimized out>, argv=0x7ffe3282ce18) at /home/tkloczko/rpmbuild/BUILD/purpose-6.3.0/autotests/menutest.cpp:17
[Inferior 1 (process 1712491) detached]
=== End of stack trace ===


0% tests passed, 2 tests failed out of 2

Total Test time (real) =   3.52 sec

The following tests FAILED:
          1 - alternativesmodeltest (Failed)
          2 - menutest (Subprocess aborted)
Errors while running CTest
Comment 2 Nate Graham 2024-06-25 20:27:18 UTC
I have asked you multiple times to stop opening bug reports about failing unit tests (we know it already, we see the failures in the CI, we're aware, bug reports don't help) unless you are willing to do some investigation into why they are failing.

If you persist in ignoring this request, I will ask sysadmins to disable your Bugzilla and Invent accounts for spamming.

Final warning.
Comment 3 kloczek 2024-06-25 20:46:41 UTC
We been talking about that week.
I've opened this thicket 8th this month (TWO week ago).
Still you are not helping to resolve those issues.

Closing with ItWotks™️ in out CI is kind of ignoring possible issue.