maliit / framework

Core libraries of Maliit and server.
Other
52 stars 49 forks source link

ft_mimpluginmanager test failure #120

Open Apteryks opened 1 year ago

Apteryks commented 1 year ago

Hi,

During a build of maliit-framework 2.3.0 on GNU Guix, I encountered the following error:

11/12 Test #11: ft_mimpluginmanager ..............Subprocess aborted***Exception:   1.09 sec
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-maliit-framework-2.3.0.drv-0/runtime-nixbld'
********* Start testing of Ft_MIMPluginManager *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
PASS   : Ft_MIMPluginManager::initTestCase()
QWARN  : Ft_MIMPluginManager::testLoadPlugins() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testLoadPlugins() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testLoadPlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
PASS   : Ft_MIMPluginManager::testLoadPlugins()
QWARN  : Ft_MIMPluginManager::testSwitchPluginState() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testSwitchPluginState() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginState() virtual void DummyInputMethod3::setState(const QSet<Maliit::HandlerState>&) QSet(2)
PASS   : Ft_MIMPluginManager::testSwitchPluginState()
QWARN  : Ft_MIMPluginManager::testMultiplePlugins() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testMultiplePlugins() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(1)
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(1)
QDEBUG : Ft_MIMPluginManager::testMultiplePlugins() virtual void DummyInputMethod3::setState(const QSet<Maliit::HandlerState>&) QSet(2)
PASS   : Ft_MIMPluginManager::testMultiplePlugins()
QWARN  : Ft_MIMPluginManager::testSwitchPluginBySignal() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testSwitchPluginBySignal() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() void DummyInputMethod::switchMe()
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual void DummyInputMethod3::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QString DummyInputMethod3::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchPluginBySignal() virtual QString DummyInputMethod3::activeSubView(Maliit::HandlerState) const
QWARN  : Ft_MIMPluginManager::testSwitchPluginBySignal() org.maliit.framework: void MIMPluginManagerPrivate::_q_onScreenSubViewChanged() , switching to plugin: "libdummyimplugin3.so"  failed
PASS   : Ft_MIMPluginManager::testSwitchPluginBySignal()
QWARN  : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() void DummyInputMethod::switchMe(const QString&)
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual void DummyInputMethod3::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QString DummyInputMethod3::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() virtual QString DummyInputMethod3::activeSubView(Maliit::HandlerState) const
QWARN  : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin() org.maliit.framework: void MIMPluginManagerPrivate::_q_onScreenSubViewChanged() , switching to plugin: "libdummyimplugin3.so"  failed
PASS   : Ft_MIMPluginManager::testSwitchToSpecifiedPlugin()
QWARN  : Ft_MIMPluginManager::testPluginDescriptions() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) "libdummyimplugin2.so" is on the blacklist, skipped.
QWARN  : Ft_MIMPluginManager::testPluginDescriptions() org.maliit.framework: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) DummyPlugin is not a Maliit::Server::InputMethodPlugin.
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QList<MAbstractInputMethod::MInputMethodSubView> DummyInputMethod3::subViews(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual void DummyInputMethod::setActiveSubView(const QString&, Maliit::HandlerState)
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual QString DummyInputMethod::activeSubView(Maliit::HandlerState) const
QDEBUG : Ft_MIMPluginManager::testPluginDescriptions() virtual void DummyInputMethod::setState(const QSet<Maliit::HandlerState>&) QSet(0)

=== Received signal at function time: 142ms, total time: 1034ms, dumping stack ===
=== End of stack trace ===
QFATAL : Ft_MIMPluginManager::testPluginDescriptions() Received signal 11
         Function time: 141ms Total time: 1034ms
FAIL!  : Ft_MIMPluginManager::testPluginDescriptions() Received a fatal error.
   Loc: [Unknown file(0)]
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 1039ms
********* Finished testing of Ft_MIMPluginManager *********

      Start 12: ut_maliit_glib_settings
12/12 Test #12: ut_maliit_glib_settings ..........   Passed    0.03 sec

92% tests passed, 1 tests failed out of 12

Total Test time (real) =   4.93 sec

The following tests FAILED:
     11 - ft_mimpluginmanager (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:74: test] Error 8

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "3") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 5.1 seconds
command "make" "test" "-j" "3" failed with status 2

The inputs used are:

dbus@1.14.0 doxygen@1.9.5 eudev@3.2.11 extra-cmake-modules@5.108.0 glib@2.72.3
+ graphviz@7.0.1 libxkbcommon@1.4.1 pkg-config@0.29.2 qtbase@5.15.10 qtdeclarative@5.15.10
+ qtwayland@5.15.10 wayland-protocols@1.32 wayland@1.22.0

Attached is the complete build log. maliit-framework-2.3.0-aarch64-linux.log

Apteryks commented 1 year ago

I also had a failure for ut_mimpluginmanager on a powerpc64le system:

4/11 Test  #4: ut_mimpluginmanager ..............Subprocess aborted***Exception:  52.12 sec